Releases: mhelmer/redux-xforms
Releases · mhelmer/redux-xforms
1.5.0
1.2.1
1.2.0
Added
expandReducerToKeys: Expands a single reducer into an object with many reducers, suitable for
composition withcombineReducers,transformReducersetc.
1.1.1
1.1.0
Added
- Markdown docs in the repo
createReducersByKey: Transforms an object with reducers to a combined reducer with byKey-filtering.transformReducers: Transforms an object with reducers into an object with the original reducers merged with transformed reducers for matching keys.
1.0.1
1.0.0
Added
- README
- Build/setup: babel, jest, eslint, esdoc
withInitialState: Creates a reducer transformer that will inject initial state before calling the reducing function.withFilter: Creates a reducer transformer that will filter based on the action.updateSlice: Creates a reducer transformer that updates only one slice of the state based on the action.isolateSlice: Creates a reducer transformer that calls the reducer with only a slice of the state, based on the action.withOldStateIfEqual: Creates a reducer transformer that will compare the old and new state with a custom function, and re-use the old state if it returns true.createByKey: Creates a reducer transformer that adds byKey-filtering.createGetByKey: Creates a selector transformer with byKey-filtering.withReducer: Creates a reducer transformer that applies an injected reducer before applying the next reducer.- Examples