Overview of Redux Top-Level API Exports
Redux provides a small set of helper functions to implement state management conventions. The primary top-level exports are:
createStore(reducer, [preloadedState]): Creates a Redux store.combineReducers(reducers): Turns an object whose values are reducer functions into a single reducer function.applyMiddleware(...middlewares): Creates store enhancer which adds middleware capabilities to the store.bindActionCreators(actionCreators, dispatch): Wraps action creators in a dispatch call.compose(...functions): Composes multiple functions from right to left.