ReducerRegistry Class
Deprecated in 4.15.0. Use your preferred state management library instead.
Redux Reducer Registry. Follows the example at http://nicolasgallagher.com/redux-modules-and-code-splitting/ Allows for small modules to provide their own reducers so that the they can manage their own state
Methods
Name | Description | |
---|---|---|
constructor(): ReducerRegistry | ReducerRegistry constructor that initializes an empty reducer map to be populated by called to registerReducer. | |
getReducers(): NameToReducerMap | Returns map of registered Reducers. | |
registerReducer(name: string, reducer: (state: any, action: any) => any): void | Call to register a reducer and its name. |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.