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
One of the problems in redux is the amount of boilerplate you potentially need.
One way to reduce that would be migrating to @reduxjs/toolkit, which comes with some tools to simplify that and it's currently considered the official way to "do" redux: https://redux.js.org/introduction/why-rtk-is-redux-today
Pros:
Reduce boilerplate code.
Get rid of custom helper functions which replicate some RTK built-ins.
Cons:
Might be harder to inject dependencies in action creators.
Actions might require the payload prop (to be confirmed).
The text was updated successfully, but these errors were encountered:
One of the problems in redux is the amount of boilerplate you potentially need.
One way to reduce that would be migrating to
@reduxjs/toolkit
, which comes with some tools to simplify that and it's currently considered the official way to "do" redux: https://redux.js.org/introduction/why-rtk-is-redux-todayPros:
Cons:
payload
prop (to be confirmed).The text was updated successfully, but these errors were encountered: