githubEdit

api-reference

Redux LogoReduxarrow-up-right

Getting Startedarrow-up-rightTutorialarrow-up-rightAPIarrow-up-rightFAQarrow-up-rightBest Practicesarrow-up-rightGitHubarrow-up-rightNeed help?arrow-up-right

🌜

🌞

Search

Redux LogoReduxarrow-up-right

API Reference#

The Redux API surface is tiny. Redux defines a set of contracts for you to implement (such as reducersarrow-up-right) and provides a few helper functions to tie these contracts together.

This section documents the complete Redux API. Keep in mind that Redux is only concerned with managing the state. In a real app, you'll also want to use UI bindings like react-reduxarrow-up-right.

Top-Level Exports#

Store API#

Importing#

Every function described above is a top-level export. You can import any of them like this:

ES6#

import { createStore } from 'redux'

Copy

ES5 (CommonJS)#

var createStore = require('redux').createStore

Copy

ES5 (UMD build)#

var createStore = Redux.createStore

Copy

Previous

« Style Guide

Next

createStore »

Docs

Community

More

Redux LogoRedux Logoarrow-up-right

Copyright © 2015–2021 Dan Abramov and the Redux documentation authors.

Last updated

Was this helpful?