Redux v5.0.1
Fixes
isPlainObjectnow accepts objects created viaObject.create(null)- Fixed type regression where
Store.getState()return type was incorrectly narrowed to non-nullable
Unclaimed project
Are you a maintainer of redux? Claim this project to take control of your public changelog and roadmap.
Changelog
A JS library for predictable global state management
Fixes
isPlainObject now accepts objects created via Object.create(null)Store.getState() return type was incorrectly narrowed to non-nullableThis major release:
action.type must be a stringcreateStore as deprecatedAnyAction type in favor of an UnknownAction type that is used everywherePreloadedState type in favor of a...This release candidate adds a new isAction predicate that can be used as a TS type guard, and exports the existing internal isPlainObject util.
Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)
See the preview **[Redux Toolkit 2.0 + Redux core 5.0 Migr...
This release candidate has no actual source code changes since the previous v5.0.0-beta.0 release.
Note that we hope to release Redux Toolkit 2.0, Redux core 5.0, and React-Redux 9.0 by the start of December! (If we don't hit that, we'll aim for January, after the holidays.)
See the preview **[Redux Toolkit 2.0 + Redux...
This beta release alters our TS types to add and use a new UnknownAction type where possible for better type safety, and includes all prior changes from the 5.0 alphas. This release has breaking changes from 4.x.
We recommend that users should prefer using Redux Toolkit for Redux development, and use [the RTK 2.0 beta that d...
This is an alpha release for Redux 5.0, and has breaking changes. It changes store.dispatch to require that action.type must always be a string.
We've always specifically told our users that actions and state must be serializable, and...
This is an alpha release for Redux 5.0. This release has has breaking types changes.
npm i redux@alpha
yarn add redux@alpha
Reducer type and PreloadedState genericWe've made tweaks to the TS types to improve type safety and behavior. There are two big types changes in this alpha.
First, the Reducer type now has a PreloadedState pos...
This is an alpha release for Redux 5.0. This release has many changes to our build setup and published package contents, and has breaking changes.
npm i redux@alpha
yarn add redux@alpha
The biggest theme of the Redux v5 and RTK 2.0 releases is trying to get "true" ESM package publishing compatibility in place, whi...
This is an alpha release for Redux 5.0. This release has types changes, an internal implementation tweak, and many changes to our build and test setup.
The TS conversion in 2019 had made some changes to the definition of the StoreEnhancer TS type around replacing reducers. Some time later, we concluded that the enhancer types chan...
This is an alpha release for Redux 5.0. This release has breaking changes.
As part of the Redux Toolkit 2.0 alpha development work, we've migrated the redux core package definition to be a full {type: "module"} ESM package with an exports field (with CJS still included for compatibility...
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.