Installation

    This assumes you are using npm as your package manager.

    Most commonly, people consume Redux as a collection of modules. These modules are what you get when you import in a Webpack, , or a Node environment. If you like to live on the edge and use Rollup, we support that as well.

    The Redux source code is written in ES2015 but we precompile both CommonJS and UMD builds to ES5 so they work in . You don't need to use Babel or a module bundler to get started with Redux.

      Note that unlike Redux itself, many packages in the Redux ecosystem don't provide UMD builds, so we recommend using CommonJS module bundlers like and Browserify for the most comfortable development experience.