Understanding Context


Last Updated: May 17, 2021

I got on the Redux band wagon pretty early on. From using Redux I developed a lot of habits - programming patterns that just made sense.

When Redux started to fall out of favor for other alternatives I felt lost at times. Particularly around how I could share global state throughout my app and still tap into the wonderful rendering engine that we have in React (Native).

Today I want to show you how to master the usage of React Context - a means to globally share data in your app.

Throughout this class I'm going to be talking about a lot of concepts. Focus on the concept presented in the lesson. At the end I'll provide an example that pulls everything we discuss together that you can run.

Want to track your progress? Create an account with React Native School!