Maxime F.
1 min readAug 23, 2019

Thanks! But the main point in your article is that the Context API causes too much re-render. But that goes also for Redux, if you update the state of a parent, its children will be re-render too. And as in your article, the great advantages of Redux are its tools but only if you need it.

Context API doesn’t come with more complexity like third part library. You just need to know where/when to use each. I took an example of authentication. A simple and common use case to show how you could replace the task you do with Redux that takes you much longer with Context API without needing to increase your dependencies and complexity.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Maxime F.
Maxime F.

No responses yet

Write a response