useEffect.dev
← Back to lessons

Lesson 10. Using contexts to share values between components 3. Next steps

Now that we know how to define and use contexts, let’s discover a pattern to improve how we manage complex states. This pattern uses reducers, and does very well when coupled with contexts, as we will see.