• Stars
    star
    23,324
  • Rank 972 (Top 0.02 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated 3 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,801
star
2

reselect

Selector library for Redux
TypeScript
19,023
star
3

redux-thunk

Thunk middleware for Redux
TypeScript
17,764
star
4

redux-devtools

DevTools for Redux with hot reloading, action replay, and customizable UI
TypeScript
14,040
star
5

redux-toolkit

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

redux-mock-store

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

redux-templates

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

cra-template-redux

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

redux-essentials-example-app

Example app for the Redux Essentials tutorial
CSS
299
star
10

redux-devtools-chart-monitor

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

rtk-github-issues-example

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

d3-state-visualizer

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

rtk-convert-todos-example

Source code for the Toolkit Intermediate Tutorial
JavaScript
93
star
14

redux-fundamentals-example-app

Example app for the Redux Fundamentals tutorial
CSS
80
star
15

angular-redux

Official Angular bindings for Redux
TypeScript
71
star
16

react-redux-benchmarks

Performance benchmark harness for React-Redux
TypeScript
70
star
17

redux-essentials-counter-example

The standard Redux / Redux Toolkit "counter" app template for Create React App
JavaScript
47
star
18

examples

Examples of how to use Redux.
JavaScript
41
star
19

vue-redux

Official Vue bindings for Redux
TypeScript
19
star