This repository contains an example of using the context api for Unit 3 - Modern web development with ReactJS of the web development bootcamp offered by Code Labs Academy. In this unit, we learn the major concepts of ReactJS, the most popular frontend Javascript framework, while providing challenges and homeworks for an optimal hands-on learning experience.
- Creating the context and and the provider component to be used for accessing the context. (view code)
- Wrapping the App component with our provider. (view code)
- Using the context to add new functionality. (view code: 1, 2)
Happy learning! 😄