React components provide convenient units of self-contained functionality—but wiring them together, especially when data goes to multiple places, can get repetitive. In this course, join Emmanuel Henri as he explores the React context API, which lets you share values across component trees and subtrees. As he steps through the course project, Emmanuel goes over the syntax of context, how to set it up in your projects, and how to update context. Plus, learn how to consume multiple contexts into your app, as well as what to avoid when working with context.
Creating a context object
Implementing the code for updating context
Updating context from a nested component
What to avoid when working with context
How the node tree in React applies to context
Consuming multiple contexts
Skill Level Beginner
Show MoreShow Less
You started this assessment previously and didn’t complete it. You can pick up where you left off, or start over.