Chapter 6: Introducing Global State Libraries
We have learned about several patterns used to share state among components so far. The rest of this book will introduce various global state libraries that use such patterns.
Before diving into the libraries, we will recap the challenges associated with global states and discuss two aspects of libraries: where the state resides and how to control re-renders. With this in hand, we will be able to understand the characteristics of global state libraries.
In this chapter, we will cover the following topics:
- Working with global state management issues
- Using the data-centric and component-centric approaches
- Optimizing re-renders
Technical requirements
You are expected to have moderate knowledge of ...
Get Micro State Management with React Hooks 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.