🌐
npm
npmjs.com › package › @reduxjs › toolkit
@reduxjs/toolkit - npm
December 14, 2025 - The Redux Toolkit package is intended to be the standard way to write Redux logic. It was originally created to help address three common concerns about Redux: ... We can't solve every use case, but in the spirit of create-react-app, we can ...
      » npm install @reduxjs/toolkit
    
Published   Dec 14, 2025
Version   2.11.2
🌐
Redux Toolkit
redux-toolkit.js.org
Redux Toolkit
Provides good defaults for store setup out of the box, and includes the most commonly used Redux addons built-in.
People also ask

How do I set up Redux Toolkit in a React project?
Install Redux, React-Redux, and Redux Toolkit using npm or yarn. RTK comes preconfigured with DevTools and default middleware, so you can start creating stores, slices, and actions immediately.
🌐
fullstack.com
fullstack.com › labs › resources › blog › using-redux-toolkit-with-reactjs
How to Use Redux Toolkit with ReactJS – A Step-by-Step Guide
How do I connect the Redux store to my React components?
Wrap your app in the Provider component with the store as a prop. Then, use the connect function and mapStateToProps to map global state and actions to your component’s props, allowing you to dispatch actions and access state directly.
🌐
fullstack.com
fullstack.com › labs › resources › blog › using-redux-toolkit-with-reactjs
How to Use Redux Toolkit with ReactJS – A Step-by-Step Guide
What is Redux Toolkit and why should I use it?
Redux Toolkit (RTK) is a modern way to manage global state in React applications. It simplifies store setup, action creation, and reducer writing compared to traditional Redux, reducing boilerplate and making state management more intuitive.
🌐
fullstack.com
fullstack.com › labs › resources › blog › using-redux-toolkit-with-reactjs
How to Use Redux Toolkit with ReactJS – A Step-by-Step Guide
🌐
GeeksforGeeks
geeksforgeeks.org › reactjs › redux-toolkit
Redux Toolkit - GeeksforGeeks
1 week ago - Redux Toolkit is added to a React project to simplify state management with less boilerplate. After installation, you import its core utilities, create a centralized store with slices, and connect it to your app using a provider.
🌐
npm
npmjs.com › package › react-redux
react-redux - npm
# Vite with our Redux+TS template ... React Redux with your React app, install it as a dependency: # If you use npm: npm install react-redux # Or if you use Yarn: yarn add react-redux...
      » npm install react-redux
    
Published   Dec 10, 2024
Version   9.2.0
🌐
Medium
omershahzad.medium.com › steps-to-setup-redux-toolkit-dc2e5a14f422
Steps to Setup Redux-toolkit. First of all install redux-toolkit and… | by Omer Shahzad | Medium
February 22, 2023 - Steps to Setup Redux-toolkit First of all install redux-toolkit and react-redux npm install @reduxjs/toolkit npm install react-redux Create the folder store inside this folder create the index.js …
🌐
GitHub
github.com › reduxjs › redux-toolkit › issues › 3959
@reduxjs/toolkit doesn't sit well with react-redux 9.0.0+ · Issue #3959 · reduxjs/redux-toolkit
December 7, 2023 - No matter the version of @reduxjs/toolkit (in my case, either 2.0.1. or 1.9.7), I can't install the new react-redux. npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: next-app@undefined npm ERR! Found: react-redux@8.1.3 npm ERR!
Author   VincentLu91
🌐
Redux
redux.js.org › installation
Installation | Redux
# NPM npm install @reduxjs/toolkit # Yarn yarn add @reduxjs/toolkit · The package includes a precompiled ESM build that can be used as a <script type="module"> tag directly in the browser.
🌐
npm
npmjs.com › package › react-redux-toolkit
react-redux-toolkit - npm
Latest version: 0.0.1-alpha.2, last published: 7 years ago. Start using react-redux-toolkit in your project by running `npm i react-redux-toolkit`. There are 1 other projects in the npm registry using react-redux-toolkit.
      » npm install react-redux-toolkit
    
Published   Feb 05, 2019
Version   0.0.1-alpha.2
Author   Rostyslav Pasichnyk
Find elsewhere
🌐
FullStack
fullstack.com › labs › resources › blog › using-redux-toolkit-with-reactjs
How to Use Redux Toolkit with ReactJS – A Step-by-Step Guide
October 1, 2025 - # NPM npm i redux react-redux @reduxjs/toolkit # Yarn yarn add yarn add redux react-redux @reduxjs/toolkit
🌐
Redux Toolkit
redux-toolkit.js.org › getting started
Getting Started | Redux Toolkit
March 7, 2026 - Both of these already have Redux Toolkit and React-Redux configured appropriately for that build tool, and come with a small example app that demonstrates how to use several of Redux Toolkit's features.
🌐
npm
npmjs.com › package › redux
redux - npm
December 23, 2023 - Redux Toolkit builds in our suggested best practices, simplifies most Redux tasks, prevents common mistakes, and makes it easier to write Redux applications. The recommended way to start new apps with React and Redux Toolkit is by using our official Redux Toolkit + TS template for Vite, or by creating a new Next.js project using Next's with-redux template.
      » npm install redux
    
Published   Dec 23, 2023
Version   5.0.1
🌐
GitHub
github.com › reduxjs › redux-toolkit › issues › 4540
Redux Toolkit not compatible with React 19? Could not resolve dependency. · Issue #4540 · reduxjs/redux-toolkit
August 1, 2024 - node_modules/@reduxjs/toolkit npm ERR! @reduxjs/toolkit@"^2.2.7" from the root project npm ERR! npm ERR! Conflicting peer dependency: react@18.3.1 npm ERR! node_modules/react npm ERR! peerOptional react@"^16.9.0 || ^17.0.0 || ^18" from @reduxjs/toolkit@2.2.7 npm ERR!
Author   joshuarichards001
Top answer
1 of 1
1

The Provider component and the useDispatch and useSelector hooks are react-redux exports. redux-toolkit doesn't provide these.

Add <script src="https://unpkg.com/[email protected]/dist/react-redux.min.js"></script> to the app scripts and access Provider, useDispatch, and useSelector from ReactRedux.

<!DOCTYPE html>
<html>
  <head>
    <title>My App</title>
    <meta charset="UTF-8" />

    <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
    <script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
    <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>

    <!-- Add this dependency -->
    <script src="https://unpkg.com/[email protected]/dist/react-redux.min.js"></script>

    <script src="https://unpkg.com/@reduxjs/[email protected]/dist/redux-toolkit.umd.js"></script>
  </head>

  <body>
    <div id="root"></div>

    <script type="text/babel">
      const { useState } = React;

      // Destructure from ReactRedux
      const { useDispatch, useSelector, Provider } = ReactRedux;
      const { configureStore, createSlice } = RTK;

      const counterSlice = createSlice({
        name: "counter",
        initialState: 0,
        reducers: {
          increment: (state) => state + 1,
          decrement: (state) => state - 1
        }
      });

      const store = configureStore({
        reducer: counterSlice.reducer
      });

      // React component using JSX
      function Counter() {
        const counter = useSelector((state) => state);
        const dispatch = useDispatch();

        return (
          <div>
            <h1>Counter: {counter}</h1>
            <button onClick={() => dispatch(counterSlice.actions.increment())}>
              Increment
            </button>
            <button onClick={() => dispatch(counterSlice.actions.decrement())}>
              Decrement
            </button>
          </div>
        );
      }

      const container = document.getElementById("root");
      const root = ReactDOM.createRoot(container);
      root.render(
        <Provider store={store}>
          <Counter />
        </Provider>
      );
    </script>
  </body>
</html>

🌐
GitHub
github.com › reduxjs › redux-toolkit
GitHub - reduxjs/redux-toolkit: The official, opinionated, batteries-included toolset for efficient Redux development · GitHub
The Redux Toolkit package is intended to be the standard way to write Redux logic. It was originally created to help address three common concerns about Redux: ... We can't solve every use case, but in the spirit of create-react-app, we can ...
Starred by 11.2K users
Forked by 1.3K users
Languages   TypeScript 97.4% | JavaScript 2.2% | CSS 0.4%
🌐
npm
npmjs.com › package › @logicsoftware › redux-toolkit
@logicsoftware/redux-toolkit - npm
January 26, 2021 - The UMD package can be used as a <script> tag directly. The Redux Toolkit package is intended to be the standard way to write Redux logic. It was originally created to help address three common concerns about Redux: ... We can't solve every ...
      » npm install @logicsoftware/redux-toolkit
    
Published   Jan 26, 2021
Version   1.5.0
Author   Mark Erikson
🌐
Redux
redux.js.org › redux toolkit: overview
Redux Toolkit: Overview | Redux
# NPM npm install @reduxjs/toolkit # Yarn yarn add @reduxjs/toolkit
🌐
npm
npmjs.com › search
keywords:redux-toolkit - npm search
[Redux-toolkit](https://redux-toolkit.js.org/) wrapper used to write less code regarding classic CRUD operations ... jed_tcm• 2.0.1 • 5 years ago • 2 dependents • MITpublished version 2.0.1, 5 years ago2 dependents licensed under $MIT ...
🌐
Redux Toolkit
redux-toolkit.js.org › quick start
Quick Start | Redux Toolkit
December 11, 2024 - That was a brief overview of how to set up and use Redux Toolkit with React.
🌐
Codefinity
codefinity.com › courses › v2 › 07b808dc-1102-4256-807f-abaee50397ce › 4a182f25-3c05-468e-b6d8-3e981d7e74a8 › bc254c0b-6ec1-45b4-87e6-92792565d59c
Learn Installing Redux Toolkit | Getting Started with Redux Toolkit
"dependencies": { "@reduxjs/toolkit": "^1.9.7", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^8.1.3", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" },
🌐
Npm
npm.io › package › @reduxjs › toolkit
@reduxjs/toolkit NPM | npm.io
The Redux Toolkit package is intended to be the standard way to write Redux logic. It was originally created to help address three common concerns about Redux: ... We can't solve every use case, but in the spirit of create-react-app, we can try to provide some tools that abstract over the setup ...