September 2024
Intermediate to advanced
743 pages
27h 48m
English
Your React application could theoretically consist of only one large component. However, that structure would contradict the basic principles of React. Instead, you should build your application from a tree of components in which each component is responsible for only one particular aspect. The foundation for such an architecture is provided by React with its lightweight components: You create a new file, export a function, and let it return a JSX structure—your component is ready.
Most components do not stand alone but instead work in conjunction with other components. For this reason, they must communicate with each other. This communication works in two different ways: either directly via props or indirectly ...
Read now
Unlock full access