Using Context API in React with Hooks
Redux or Context?
It’s me, Tania.
I wrote a quick article:
I always forget the syntax for how to use Context, and the article I wrote on it a few years ago used legacy Class and contextType syntax, so I wrote up a little article with the newer syntax and an example of a situation I think it makes sense to use Context as opposed to Redux.
I have some more articles I want to write soon, so I’ll probably be sending out emails a little more often.
Have a good day!