UNPKG

react-state-hoc

Version:

A React higher-order component for abstracting state away

44 lines (19 loc) 1.07 kB
<a name="3.0.0"></a> # [3.0.0](https://github.com/troch/react-state-hoc/compare/v2.0.0...v3.0.0) (2018-06-29) ### Features * add support for functions in 'mapSetStateToProps' state creators ([dfab747](https://github.com/troch/react-state-hoc/commit/dfab747)) * expose a `mergeProps` function to control what is passed to child components ([d0cebbf](https://github.com/troch/react-state-hoc/commit/d0cebbf)) ### BREAKING CHANGES * If `mapSetStateToProps` is passed, then `setState` is no longer passed to child components <a name="2.0.0"></a> # [2.0.0](https://github.com/troch/react-state-hoc/compare/v1.2.0...v2.0.0) (2018-05-24) ### Features * rewritten in TypeScript * add support for state creators ([56200fe](https://github.com/troch/react-state-hoc/commit/56200fe)) <a name="1.1.0"></a> # [1.1.0](https://github.com/troch/react-state-hoc/compare/v1.0.3...v1.1.0) (2017-09-26) * Update to React 16 <a name="1.0.0"></a> # 1.0.0 (2015-11-29) ### Features * create state hoc ([7620efa](https://github.com/troch/react-state-hoc/commit/7620efa))