Class: PluginModule
core/plugin.PluginModule
Implements
Service
Constructors
constructor
• new PluginModule()
Properties
[storeKey]
• Optional
Readonly
[storeKey]: Store
<any
, AnyAction
>
Implementation of
Service.__@storeKey@59309
Defined in
packages/reactant-module/src/core/plugin.ts:15
enhancer
• Optional
enhancer: Function
inject enhancer for Redux
Defined in
packages/reactant-module/src/core/plugin.ts:32
middleware
• Optional
middleware: Middleware
<{}, any
, Dispatch
<AnyAction
>>
inject middleware for Redux
Defined in
packages/reactant-module/src/core/plugin.ts:27
provider
• Optional
provider: FunctionComponent
<any
>
Define a React Provider for the current PluginModule
Defined in
packages/reactant-module/src/core/plugin.ts:52
Methods
afterCombineRootReducers
▸ Optional
afterCombineRootReducers(rootReducer
): Reducer
<any
, AnyAction
>
As hook after combine rootReducers
Parameters
Name | Type |
---|---|
rootReducer | Reducer <any , AnyAction > |
Returns
Reducer
<any
, AnyAction
>
Defined in
packages/reactant-module/src/core/plugin.ts:47
afterCreateStore
▸ Optional
afterCreateStore(store
): Store
<any
, AnyAction
>
As hook after createStore
Parameters
Name | Type |
---|---|
store | Store <any , AnyAction > |
Returns
Store
<any
, AnyAction
>
Defined in
packages/reactant-module/src/core/plugin.ts:37
beforeCombineRootReducers
▸ Optional
beforeCombineRootReducers(reducers
): ReducersMapObject
<any
, Action
<any
>>
As hook before combine rootReducers
Parameters
Name | Type |
---|---|
reducers | ReducersMapObject <any , Action <any >> |
Returns
ReducersMapObject
<any
, Action
<any
>>
Defined in
packages/reactant-module/src/core/plugin.ts:42
preloadedStateHandler
▸ Optional
preloadedStateHandler(preloadedState
): Object
preloaded state handler for Redux
Parameters
Name | Type |
---|---|
preloadedState | Object |
Returns
Object