February 2022
Intermediate to advanced
254 pages
4h 13m
English
In the previous two chapters, we learned how to use Context and Subscription for a global state. Each has different benefits: Context allows us to provide different values for different subtrees, while Subscriptions prevent extra re-renders.
In this chapter, we will learn a new approach: combining React Context and Subscriptions. The combination will give us the benefits of each, which means:
Read now
Unlock full access