• Stars
    star
    23,176
  • Rank 915 (Top 0.02 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official React bindings for Redux

React Redux

Official React bindings for Redux.
Performant and flexible.

GitHub Workflow Status npm version npm downloads #redux channel on Discord

Installation

Using Create React App

The recommended way to start new apps with React Redux is by using the official Redux+JS/TS templates for Create React App, which takes advantage of Redux Toolkit.

# JS
npx create-react-app my-app --template redux

# TS
npx create-react-app my-app --template redux-typescript

An Existing React App

React Redux 8.0 requires React 16.8.3 or later (or React Native 0.59 or later).

To use 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

You'll also need to install Redux and set up a Redux store in your app.

This assumes that youโ€™re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

If you donโ€™t yet use npm or a modern module bundler, and would rather prefer a single-file UMD build that makes ReactRedux available as a global object, you can grab a pre-built version from cdnjs. We donโ€™t recommend this approach for any serious application, as most of the libraries complementary to Redux are only available on npm.

Documentation

The React Redux docs are published at https://react-redux.js.org .

How Does It Work?

The post The History and Implementation of React-Redux explains what it does, how it works, and how the API and implementation have evolved over time.

There's also a Deep Dive into React-Redux talk that covers some of the same material at a higher level.

License

MIT

More Repositories

1

redux

A JS library for predictable global state management
TypeScript
60,403
star
2

reselect

Selector library for Redux
TypeScript
18,988
star
3

redux-thunk

Thunk middleware for Redux
TypeScript
17,731
star
4

redux-devtools

DevTools for Redux with hot reloading, action replay, and customizable UI
TypeScript
13,863
star
5

redux-toolkit

The official, opinionated, batteries-included toolset for efficient Redux development
TypeScript
10,289
star
6

redux-mock-store

A mock store for testing Redux async action creators and middleware.
JavaScript
2,490
star
7

redux-templates

Official Redux templates for Vite, Create-React-App, and more
TypeScript
1,309
star
8

cra-template-redux

ARCHIVED: the CRA+JS template has moved to https://github.com/reduxjs/redux-templates
JavaScript
1,266
star
9

redux-devtools-chart-monitor

A chart monitor for Redux DevTools https://www.npmjs.com/package/redux-devtools-chart-monitor
JavaScript
292
star
10

redux-essentials-example-app

Example app for the Redux Essentials tutorial
CSS
287
star
11

rtk-github-issues-example

Source code for the Redux Toolkit Advanced Tutorial
TypeScript
211
star
12

d3-state-visualizer

Real-time visualizations of your application state
JavaScript
103
star
13

rtk-convert-todos-example

Source code for the Toolkit Intermediate Tutorial
JavaScript
91
star
14

redux-fundamentals-example-app

Example app for the Redux Fundamentals tutorial
CSS
77
star
15

react-redux-benchmarks

Performance benchmark harness for React-Redux
TypeScript
69
star
16

redux-essentials-counter-example

The standard Redux / Redux Toolkit "counter" app template for Create React App
JavaScript
44
star
17

examples

Examples of how to use Redux.
JavaScript
40
star