In this video, Emmanuel Henri challenges you to finalize the project by adding the remaining context into the base project.
(upbeat techno music) … - [Male Voiceover] Okay so now that we have created … our second provider here, let's challenge you … to continue and complete this by yourself. … So if you want to get a reference go back to … new single and make sure that you take a look at … what code we added when we actually did the consumer. … So I want you to do the same thing here for the new single. … The only thing that I'm going to do beforehand … to kind of give you a hand, because that's the one area … that really doesn't matter for this course … but I still want to add it here. … Let's remove the class name here and then let's add style … equals and then pass flex … one by itself, so basically what I've done here is … prepped this internal component here … for the styles that we've passed or we've created here. … But I want you to complete the consumer … in the news by yourself, … so just to test yourself to make sure that you … understood what we needed to do and … what is the syntax that you need to add …
- 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