Redux Vs Context API (React Tutorial)

preview_player
Показать описание
Subscribe to Daily Code Tips!

Let me know which architecture you like more!

► My Medium:

► My linkedin

► My Github

► My Instagram
@realdailycodetips

► My Facebook

► Resources
Рекомендации по теме
Комментарии
Автор

I got into confusion over react context API.


If you can help, it will be really helpful.




Question: is it OK to use multiple independent contexts in the react app.


This means those contexts will not be communicated between them, but they will exist in parallel.


Each context will handle multiple react routes ...




<context a>
Route a1
Route a2
Route a3
</context>


<context b>
Route b1
Route b2
Route b3
</context>

subhadippahari