react-redux

Official React bindings for Redux

This version breaks the build on Browserify due to a missing loose-envify dependency. Update to 4.1.1 or newer.
Last updated 9 years ago by gaearon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install react-redux 
SYNC missed versions from official npm registry.

React Redux

Official React bindings for Redux. Performant and flexible.

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

Installation

Create a React Redux App

The recommended way to start new apps with React and Redux is by using our official Redux+TS template for Vite, or by creating a new Next.js project using Next's with-redux template.

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.

# Vite with our Redux+TS template
# (using the `degit` tool to clone and extract the template)
npx degit reduxjs/redux-templates/packages/vite-template-redux my-app

# Next.js using the `with-redux` template
npx create-next-app --example with-redux my-app

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

Current Tags

  • 9.0.0-alpha.1                                ...           alpha (a year ago)
  • 9.0.0-beta.0                                ...           beta (a year ago)
  • 7.1.2-alpha.0                                ...           fix-test (5 years ago)
  • 9.1.2                                ...           latest (8 months ago)
  • 9.0.0-rc.0                                ...           next (a year ago)
  • 4.4.10                                ...           previous (6 years ago)
  • 5.1.2                                ...           previous-5.x (5 years ago)
  • 8.0.0-rc.1                                ...           rc (3 years ago)

140 Versions

  • 9.1.2                                ...           8 months ago
  • 9.1.1                                ...           8 months ago
  • 9.1.0                                ...           a year ago
  • 9.0.4                                ...           a year ago
  • 9.0.3                                ...           a year ago
  • 9.0.2                                ...           a year ago
  • 9.0.1                                ...           a year ago
  • 9.0.0                                ...           a year ago
  • 9.0.0-rc.0                                ...           a year ago
  • 9.0.0-beta.0                                ...           a year ago
  • 8.1.3                                ...           a year ago
  • 9.0.0-alpha.1                                ...           a year ago
  • 9.0.0-alpha.0                                ...           a year ago
  • 8.1.2                                ...           a year ago
  • 8.1.1                                ...           2 years ago
  • 8.1.0                                ...           2 years ago
  • 8.0.7                                ...           2 years ago
  • 8.0.6                                ...           2 years ago
  • 8.0.5                                ...           2 years ago
  • 8.0.4                                ...           2 years ago
  • 8.0.3                                ...           2 years ago
  • 7.2.9                                ...           2 years ago
  • 8.0.2                                ...           3 years ago
  • 8.0.1                                ...           3 years ago
  • 8.0.0                                ...           3 years ago
  • 8.0.0-rc.1                                ...           3 years ago
  • 8.0.0-rc.0                                ...           3 years ago
  • 8.0.0-beta.4                                ...           3 years ago
  • 7.2.8                                ...           3 years ago
  • 7.2.7                                ...           3 years ago
  • 8.0.0-beta.3                                ...           3 years ago
  • 8.0.0-beta.2                                ...           3 years ago
  • 8.0.0-beta.1                                ...           3 years ago
  • 8.0.0-beta.0                                ...           3 years ago
  • 8.0.0-alpha.1                                ...           3 years ago
  • 7.2.6                                ...           3 years ago
  • 8.0.0-alpha.0                                ...           3 years ago
  • 7.2.5                                ...           3 years ago
  • 7.2.4                                ...           4 years ago
  • 7.2.3                                ...           4 years ago
  • 7.2.2                                ...           4 years ago
  • 7.2.1                                ...           4 years ago
  • 7.2.0                                ...           5 years ago
  • 7.1.3                                ...           5 years ago
  • 7.1.2                                ...           5 years ago
  • 7.1.2-alpha.0                                ...           5 years ago
  • 5.1.2                                ...           5 years ago
  • 7.1.1                                ...           5 years ago
  • 7.1.0                                ...           6 years ago
  • 7.1.0-rc.1                                ...           6 years ago
  • 7.1.0-alpha.5                                ...           6 years ago
  • 7.1.0-alpha.4                                ...           6 years ago
  • 7.1.0-alpha.3                                ...           6 years ago
  • 7.1.0-alpha.2                                ...           6 years ago
  • 7.0.3                                ...           6 years ago
  • 7.1.0-alpha.1                                ...           6 years ago
  • 7.1.0-alpha.0                                ...           6 years ago
  • 7.0.2                                ...           6 years ago
  • 7.0.1                                ...           6 years ago
  • 7.0.0                                ...           6 years ago
  • 7.0.0-beta.1                                ...           6 years ago
  • 7.0.0-beta.0                                ...           6 years ago
  • 4.4.10                                ...           6 years ago
  • 6.0.1                                ...           6 years ago
  • 6.0.0                                ...           6 years ago
  • 6.0.0-beta.3                                ...           6 years ago
  • 5.1.1                                ...           6 years ago
  • 6.0.0-beta.2                                ...           6 years ago
  • 6.0.0-beta.1                                ...           6 years ago
  • 5.1.0                                ...           6 years ago
  • 6.0.0-alpha.2a2f108                                ...           6 years ago
  • 6.0.0-alpha.9210282                                ...           6 years ago
  • 6.0.0-alpha.ede6245                                ...           6 years ago
  • 5.1.0-test.1                                ...           7 years ago
  • 4.4.9                                ...           7 years ago
  • 5.0.7                                ...           7 years ago
  • 5.0.6                                ...           7 years ago
  • 5.0.5                                ...           8 years ago
  • 4.4.8                                ...           8 years ago
  • 5.0.4                                ...           8 years ago
  • 4.4.7                                ...           8 years ago
  • 5.0.3                                ...           8 years ago
  • 5.0.2                                ...           8 years ago
  • 5.0.1                                ...           8 years ago
  • 5.0.0                                ...           8 years ago
  • 5.0.0-rc.2                                ...           8 years ago
  • 5.0.0-rc.1                                ...           8 years ago
  • 4.4.6                                ...           8 years ago
  • 5.0.0-beta.3                                ...           8 years ago
  • 5.0.0-beta.2                                ...           8 years ago
  • 5.0.0-beta.1                                ...           8 years ago
  • 5.0.0-alpha.1                                ...           8 years ago
  • 4.4.5                                ...           9 years ago
  • 4.4.4                                ...           9 years ago
  • 4.4.3                                ...           9 years ago
  • 4.4.2                                ...           9 years ago
  • 4.4.1                                ...           9 years ago
  • 4.4.0                                ...           9 years ago
  • 4.3.0                                ...           9 years ago
  • 4.2.1                                ...           9 years ago
  • 4.2.0                                ...           9 years ago
  • 4.1.2                                ...           9 years ago
  • 4.1.1                                ...           9 years ago
  • 4.1.0 [deprecated]           ...           9 years ago
  • 4.0.6                                ...           9 years ago
  • 4.0.5                                ...           9 years ago
  • 4.0.4                                ...           9 years ago
  • 4.0.3                                ...           9 years ago
  • 4.0.2                                ...           9 years ago
  • 3.1.2                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 3.1.1 [deprecated]           ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 3.1.0                                ...           9 years ago
  • 3.0.1                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 3.0.0-alpha                                ...           9 years ago
  • 2.1.2                                ...           9 years ago
  • 2.1.1                                ...           9 years ago
  • 2.1.0                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.9.0                                ...           9 years ago
  • 0.8.2                                ...           9 years ago
  • 0.8.1 [deprecated]           ...           9 years ago
  • 0.8.0 [deprecated]           ...           9 years ago
  • 0.7.0                                ...           9 years ago
  • 0.6.0 [deprecated]           ...           9 years ago
  • 0.5.3                                ...           9 years ago
  • 0.5.2                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.0                                ...           9 years ago
  • 0.4.0                                ...           9 years ago
  • 0.3.0                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 1.0.0-alpha [deprecated]           ...           9 years ago
  • 0.1.0 [deprecated]           ...           9 years ago
Maintainers (1)
Downloads
Total 144
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (22)

© 2010 - cnpmjs.org x YWFE | Home | YWFE