Exploring the Redux second generation - LogRocket Blog
Briefly

But if you're still dealing with this boilerplate, then you need to catch up. Redux Toolkit has been around since 2019 and is now the standard method of creating Redux apps, streamlining your state management and reducing the amount of boilerplate code you need to write.
Packaging updates: The modern ESM build lives in ./dist/ with a CJS build included for compatibility Deprecations removed: Several options that were marked as deprecated in the past have been removed, such as the outdated object syntax in slices and reducers
Redux Toolkit 2.0 is the first major version of Redux Toolkit in four years and while it's a big overhaul and there are some breaking changes, Redux documentation states that "most of the breaking changes should not have an actual effect on end users" and that "many projects can just update the package version with very few code changes."
Read at LogRocket Blog
[
add
]
[
|
|
]