Working with React, at some point would make you think there has to be a better way to manage your states across your application - well yes, Redux...
For further actions, you may consider blocking this person and/or reporting abuse
I prefer context instead of redux. Even more when you use context with React hooks, it turns so much easier.
Sure might be a breeze if you use them with Hooks, but what about people with a preference for class based components
One thing to note is that, when any data in context changes, any components using the context would be re-rendered.
For Redux, only the components that connects to the changed data is re-rendered.
Yes by if you connect a view to the store, when the store change and the entire view is rerendered is not the same as context?
Redux used to used Context for v6, they removed it in v7+ as that was the issue.
what u mean?
Exactly 10 points for Redux 😁
Context + useReducer is for me the best way for state management.
Lol who are the 'official dev team'?