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 may need, ...
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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.