React Redux screenshot

React Redux

Author Avatar Theme by Reduxjs
Updated: 21 Apr 2025
23487 Stars

Official React bindings for Redux

Overview

React Redux is the official React library for integrating Redux into React applications. It provides a performant and flexible way to manage state in React components and is widely used in the React community.

Features

  • Official Binding: Official React library for integrating Redux into React apps.
  • Performance: Performant solution for managing state in React components.
  • Flexibility: Offers flexibility in managing application state with Redux.

Installation

To install React Redux in your project, follow these steps:

  1. Ensure your project meets the minimum requirements (React 16.8.3 or later).
  2. Install React Redux along with Redux using npm:
npm install react-redux redux
  1. Set up a Redux store in your application.
  2. For projects using npm and a module bundler like Webpack or Browserify:
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import rootReducer from './reducers';
import App from './App';

const store = createStore(rootReducer);

ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
  1. For a single-file UMD build, you can use a pre-built version from a CDN such as cdnjs, although this approach is not recommended for serious applications.

Summary

React Redux is the official React library for integrating Redux into React applications, providing a performant and flexible way to manage state. By following the installation guide and setting up a Redux store, developers can effectively incorporate React Redux into their projects. The library is widely used in the React community and is continuously updated, offering comprehensive documentation for users to reference.