How to use the redux-devtools-extension/logOnly.composeWithDevTools function in redux-devtools-extension

To help you get started, we’ve selected a few redux-devtools-extension examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github illarionvk / demo-wizard-state-machine / src / ducks / index.js View on Github external
},
  commission: commissionInitialState
}

const rootReducer = combineReducers({
  assets: combineReducers({
    bicycle: bicycle.reducer,
    drivetrain: drivetrain.reducer,
    paint: paint.reducer,
    pedal: pedal.reducer,
    saddle: saddle.reducer
  }),
  commission: commissionReducer
})

const composeEnhancers = composeWithDevTools({})

const store = createStore(
  rootReducer,
  initialState,
  composeEnhancers(applyMiddleware(loggerMiddleware))
)

global[STORE] = store

export { initialState, store }