You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing up some React applications, here at Recife we noticed that we needed to use Redux instead of simpler Context API to manage some states.
Context API has some limitations depending project's scope. e.g When trying to traverse more than three levels in components.
Would be a good idea to use redux only if you need and create some use cases when you need or when you shouldn't need? We could use useReducer hook with Context API that empowers developers but I don't know if this utilization covers all use cases.
When writing up some React applications, here at Recife we noticed that we needed to use Redux instead of simpler Context API to manage some states.
Context API has some limitations depending project's scope. e.g When trying to traverse more than three levels in components.
Would be a good idea to use redux only if you need and create some use cases when you need or when you shouldn't need? We could use
useReducer
hook with Context API that empowers developers but I don't know if this utilization covers all use cases./cc @oliveiraaraujo @phcp @brunobasto @matuzalemsteles
The text was updated successfully, but these errors were encountered: