Abstract
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, we need help from other libraries to build quality software.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Elrom, E. (2021). State Management. In: React and Libraries. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6696-0_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6696-0_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6695-3
Online ISBN: 978-1-4842-6696-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books