Tania’s List

Share this post
Using Context API in React with Hooks
taniarascia.substack.com

Using Context API in React with Hooks

Redux or Context?

Tania Rascia
Jun 16, 2021
27
Share this post
Using Context API in React with Hooks
taniarascia.substack.com

Hey there,

It’s me, Tania.

I wrote a quick article:

How and When to Use Context in React with Hooks

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!

Share this post
Using Context API in React with Hooks
taniarascia.substack.com
Comments

Create your profile

0 subscriptions will be displayed on your profile (edit)

Skip for now

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.

TopNewCommunity

No posts

Ready for more?

© 2022 Tania Rascia
Privacy ∙ Terms ∙ Collection notice
Publish on Substack Get the app
Substack is the home for great writing