In the previous chapter, we built a header component with a menu and a drawer with the help of Material-UI. We also connected the pages using React Router. We learned about React components and how to pass information from parent components down to a child component using props. We also learned about the component lifecycle and the component state. However, if we want to implement other common elements in most apps, such as store userâs information, cart, or any other data-based state that multiple components or subcomponents ...
5. State Management
Get React and Libraries: Your Complete Guide to the React Ecosystem now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.