GLOSSARY · A WORD, UNPACKED
component
a function that returns the UI for one piece of the interface, given its props.
A little more detail
A React function component receives props and returns elements. On each render React calls the function again. Keep the function focused on one piece of UI so a teammate can find the behavior by reading the name, the props, and the returned tree.
See it in practice
These lessons pair the idea with examples you can change and run.