window.__REDUX_DEVTOOLS_EXTENSION__(reducer, [preloadedState, config])
Note: This is not intended to replace Redux'
createStore
. Use this approach only when you want to inspect changes outside of Redux or when not using Redux inside your application.
-
reducer
(Function): A reducing function that returns the next state tree, given the current state tree and an action to handle. -
[
preloadedState
] (any): The initial state. You may optionally specify it to hydrate the state from the server in universal apps, or to restore a previously serialized user session. If you producedreducer
withcombineReducers
, this must be a plain object with the same shape as the keys passed to it. Otherwise, you are free to pass anything that yourreducer
can understand. -
[
config
] (Object): options. See parameters for details.