Skip to content
loading...

re: How to Use New React Context API Detailed VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I just learned about it too. but what are the cases where you would choose this over something like redux.
 

Before you jump to react context - know what it prop drilling problem from kent c dodds
blog.kentcdodds.com/prop-drilling-...

you can choose context approach when your screens in SPA are less and you have small amount of data to handle in entire app.

code of conduct - report abuse