github reduxjs/redux-toolkit v2.0.0-beta.1

pre-release14 months ago

This beta release updates the build and packaging setup to improve TS and ESM compatibility, fixes several TS issues, and updates to the latest React-Redux and Redux-Thunk deps.

npm i @reduxjs/toolkit@beta

yarn add @reduxjs/toolkit@beta

The 2.0 integration branch contains the docs preview for the 2.0 changes. Not all changes are documented yet, but you can see API reference pages for most of the new features here:

Build and TS Updates

We've made several tweaks to the packaging to improve compatibility for ESM and TS typedef definitions, which should fix some issues that were reported with beta.0.

We also fixed several assorted TS issues that were affecting users in specific edge cases.

Other Changes

We removed the AbortController polyfill from createAsyncThunk, saving some bytes.

We've updated deps to redux-thunk@3.0.0-beta.0 and react-redux@9.0.0-alpha.0.

What's Changed

Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1

Don't miss a new redux-toolkit release

NewReleases is sending notifications on new releases.