Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.18 KB

configuration.md

File metadata and controls

13 lines (10 loc) · 1.18 KB

Configuration

This section describes main System configuration options.

Configuration option Type Default Description
initialState Object {} Initial state for the root reducer.
initialPluginState Object {} Initial state for state plugin which doesn't define it's initial state.
pluginStateAccessor Function (sliceName, state) => state[sliceName] Defines a mechanism for accessing a state slice. You don't need to touch this unless you plan to use Immutable.js.
plugins Array [] List of state plugins or presets.
middleware Array | Function (system) => (getDefaultMiddleware) => getDefaultMiddleware({ thunk: { extraArgument: { getSystem: system.getSystem } } }) Gives complete control over redux store middleware. Please refer to this documentation about more details.
configs Object {} Arbitrary configuration options for applications build on top of Swagger Adjust.