changelogs.md


gcazaciuc/redux-fractal

Repository  -  API  -  Source

1.7.1

  • Prevent state from being destroying when components with the same keys enter/exit the view(due to destroying being done in a timeout)

1.5.0

  • Add support for mergeProps ( thanks @farism )
    • Cleanup filterGlobalActionscallback upon component unmount
    • Linting

1.4.1

  • Fixed a bug preventing composition of local HOC with react-redux connect
    • Add react-redux as a peer dependency

1.4

  • Hoist the wrapped component contextTypes into the local HOC( thanks @kuon )
    • Hoist all non react statics into the local HOC
    • Provide a display name for components generated by local

1.3

  • Stores are now shareable among all components that have the same key
  • Pass in the component context to all of callback style functions defined on local. Configuration now can be defined as
    local({
        key: (props, context) => ...,
        createStore: (props, existingState, context) => ...
        persist: (props, context) => ...
    })
    
  • Add the mergeReducers utility in 'redux-fractal/utils'
  • Renamed 'triggerComponentKey' and 'currentComponentKey' set on actions meta by redux-fractal to reduxFractalTriggerComponent and reduxFractalCurrentComponent to prevent name collisions with user code.
  • Documentation improvements

1.2

  • Made the persist flag configurable by being able to define it also as a function of props

1.1

  • Add ability to persist state when component unmounts by configuring local HOC with a persist boolean flag

1.0.0

  • Initial release