EpicReact.dev

Welcome to the EpicReact.dev Workshop app!

This is the deployed version. Run locally for full experience.
Join EpicReact.devβ†—οΈŽLogin
8
Shared Context β€” Context Provider
8

04. Shared Context/01. Context Provider (🏁 solution)

Context Provider

β–ˆ<
Loading "Context Provider (🏁 solution)"
β–ˆ<
Context Provider (🏁 solution) β†—οΈŽ
Run locally for transcripts
πŸ‘¨β€πŸ’Ό Great! Now we've got a context provider so all the components can reference the same state for our search params. Next let's improve this more by making a hook for it and dealing with an issue with the default value.
← PreviousNext β†’
Edit on GitHubEdit this page on GitHub
playgroundproblemsolutiontestsdiffchat
β–ˆ<
Loading "Context Provider"
β–ˆ<