examples/webpack/src/redux/utils/store.js
function configureStore( preloadedState = {}, extraMiddleware = [] ) {
	const enhancers = configureEnhancers( extraMiddleware );

	return createStore( rootReducer, preloadedState, enhancers );
}
function configureStore( preloadedState = {}, extraMiddleware = [] ) {
	const enhancers = configureEnhancers( extraMiddleware );

	return createStore( rootReducer, preloadedState, enhancers );
}
function configureStore ( preloadedState = { } , extraMiddleware = [ ] ) { const enhancers = configureEnhancers ( extraMiddleware ) ; return createStore ( rootReducer , preloadedState , enhancers ) ; }
Creates a Redux store.

@param {Object} [preloadedState]  The initial state.
@param {Array}  [extraMiddleware] Any extra middleware to apply.

@returns {Object} The Redux store.
Creates a Redux store .