Skip to content

Releases: mhelmer/redux-xforms

1.5.0

16 Jul 21:52

Choose a tag to compare

Changed

  • Update all dependencies
  • Added prettier

1.2.1

14 Apr 06:46

Choose a tag to compare

Fixed

  • Missing exports for expandReducerToKeys and createGetByKey

1.2.0

14 Apr 06:46

Choose a tag to compare

Added

  • expandReducerToKeys: Expands a single reducer into an object with many reducers, suitable for
    composition with combineReducers, transformReducers etc.

1.1.1

03 Apr 19:13

Choose a tag to compare

Fixed

  • A bug in createReducersByKey

1.1.0

03 Apr 19:12

Choose a tag to compare

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

03 Apr 19:11

Choose a tag to compare

Fixed

  • Lib directory was not uploaded to npm

1.0.0

03 Apr 19:10

Choose a tag to compare

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