dist
folder on unpkg. The UMD builds make Redux Toolkit available as a window.RTK
global variable.redux
in a Webpack, Browserify, or a Node environment. If you like to live on the edge and use Rollup, we support that as well.redux
npm package includes precompiled production and development UMD builds in the dist
folder. They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments. For example, you can drop a UMD build as a <script>
tag on the page, or tell Bower to install it. The UMD builds make Redux available as a window.Redux
global variable.combineReducers
, which allows passing state
as a third argument to all slice reducers.combineReducers
variation that allows defining cross-slice dependencies for ordering and data passingdispatch
and getState
as parameters. This acts as a loophole for AJAX calls and other async behavior.mapState
functions that create impure props.