boolean | object
false
Once state
is enabled, you can use Model for state management.
Array<Model>
[]
Register model objects that are mounted in advance, and these models will be mounted immediately after the Reduck store is created. Generally, there is no need to mount in advance.
Object
{}
Used to set the initial state of the global store. Generally used for SSR to initialize data during the hydration phase.
boolean
true
Whether to enable to update the state with mutable, it is enabled by default, and set to false
if you want to disable it.
boolean
true
Whether to enable the side effect management feature, it is enabled by default, and set to false
if you want to disable it.
boolean
true
Whether to enable the auto-generated actions feature, it is enabled by default, and set to false
if you want to disable it.
boolean | EnhancerOptions
true
Whether to enable devtools, it is enabled by default, and all parameters of redux-devtools-extension are supported at the same time. If you want to disable it, set it to false
.