Skip to content

v0.5.0

Choose a tag to compare

@jhen0409 jhen0409 released this 05 Nov 15:33

New Redux DevTools features (#16)

New Redux enhancer / compose API

Refer to redux-devtools-extension, we provide a new way instead of reduxNativeDevTools and reduxNativeDevTools.updateStore:

  • window.__REDUX_DEVTOOLS_EXTENSION__ (alias reduxNativeDevTools)
  • window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ (alias reduxNativeDevToolsCompose)
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?
  window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
    /* options */
  }) :
  compose;
const enhancer = composeEnhancers(
  applyMiddleware(...middlewares)
);

See README.md for more information.

Multi-store support

Now we can use the redux enhancer for each store, and we can switch instances on monitor:

2016-11-03 7 47 25

Other changes