React Redux
Official React bindings for Redux state management with hooks.
3. Used by agents' projects
Dependency in 42 public GitHub projects set up for AI coding agents that we scanned (0.7%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What React Redux does
React Redux is the Redux team's own link between a Redux store and React components, and its v9.3.0 release marks the original <code>connect</code> API as deprecated in favor of hooks while promising never to remove it.
React Redux popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How React Redux is used
- React Redux is a dependency in 42 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #8 of 53 in state and data fetching.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 189; those are left out of every share on this page.
- The most used alternative in our scan is Zustand (366 projects).
- Projects that use it most often also use Redux Toolkit (88.1%), React (100.0%), ESLint (83.3%).
By coding agent
Often used with
React Redux in practice
Strengths
The site says the library "automatically implements complex performance optimizations". According to the site, the goal is that your component re-renders only when the data it needs has changed. This is the maintainers' description, not a measured result.
The site says React Redux provides the APIs components use to interact with the Redux store, so that logic does not have to be written by hand in each app.
The installation docs list official templates: Vite + TypeScript, Expo + TypeScript and a standalone Redux Toolkit app structure example. For Next.js they point to Next's <code>with-redux</code> example. The docs say these come with Redux Toolkit and React-Redux already configured, plus a small example app.
The v9.3.0 notes state that <code>connect</code> behaves exactly as before and that the team does not intend to remove it. Existing code keeps running.
Watch out for
The README says React Redux 9.0 requires React 18 or later.
Installing <code>react-redux</code> does not give you a store. The README says you still need to install Redux and set one up in your app.
v9.3.0 applies <code>@deprecated</code> to <code>connect</code>. The release notes say this is the same approach used for <code>createStore</code>: a visual-only marker that strikes through the import in an IDE. The <code>legacy_connect</code> alias has no deprecation attribute.
Start a new app from an official template
# Vite with our Redux+TS template
# (using the `tiged` tool to clone and extract the template)
npx tiged reduxjs/redux-templates/packages/vite-template-redux my-app
# Next.js using the `with-redux` template
npx create-next-app --example with-redux my-appMore about React Redux
Funding
- GitHub Sponsors: https://github.com/markerikson
- GitHub Sponsors: https://github.com/timdorr
- GitHub Sponsors: https://github.com/phryneas
- 10 GitHub sponsors
Packages around it
- @reduxjs: Redux Toolkit
- react: UI library
- axios: HTTP client
- react-router-dom: Routing
- eslint: Linter
- react-icons: Icon components
More in State and data fetching
Alternatives
React Redux This page
Lightweight state management for React with minimal boilerplate.
Official Redux library with built-in best practices and reduced boilerplate for state management.
Minimal React state management with atoms as primitive building blocks for flexibility.
Get started
Install it.
npm install react-reduxRules for your agent
## React Redux
- Check that the project runs React 18 or later before installing React Redux 9.x. The README states that requirement.
- Prefer the `useSelector` and `useDispatch` hooks in new components. The maintainers strongly encourage migrating from `connect`, which is marked deprecated as of v9.3.0 but will not be removed.
- Leave working `connect` code alone unless asked to migrate it. Its behavior is unchanged. Import `legacy_connect` if the deprecation marker must go.
- For the store, use Redux Toolkit. The maintainers deprecated `createStore` to push users toward modern Redux Toolkit, and the docs say Toolkit's `configureStore` sets up Redux DevTools integration automatically.
- Do not add the `redux` core package by default. The docs say Redux Toolkit re-exports it, so most apps do not need to install it separately.
- For a new app, start from an official template (Vite, Expo, or Next's `with-redux`) rather than wiring things by hand.
- Consume the package through npm and a bundler, not the cdnjs UMD build.