This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Releases: acdlite/recompose
Releases · acdlite/recompose
withStateHandler behaviour change
Remove useless in React 16 optimisation #736 (comment)
Make state change more similar to React setState.
babel 7
Babel magic
Pin babel runtime version and upgrade babel (#724)
Thanks to @shireeshaBongarala, @TrySound
babel 1
toRenderProps - fromRenderProps
This release adds support to:
- toRenderProps with support for flow type
2.fromRenderProps with support for flow type and multiple arguments. - withPropsOnChange maps subset of owner props to child props with custom predicate.
- Upgrade the size snapshot plugin
b2f082f - Upgrade babel to ^7.0.0-beta.55 and reduce the bundle size.
0db1ef6
Big Thanks to @shireeshaBongarala !!!
Render props
React 16.3 Lifecycles, flow types
Remove Eager optimizations
After a lot of issues like #489 #525 #488 etc we decided to remove eager(in some cases recompose replaced createElement with function call) optimisations from recompose. See discussions in issues for details.
Thank you @deepsweet for this !!!
Please read comments here #538 for more information.
React 16.0.0
Add React 16 to peer deps
Production only optimisations
This release contains:
- #479 withStateHandlers fix which allows to use it with SyntheticEvents
- #473 Use eager factory optimization only in production env. (Possibly breaking change for development env, does not affects production builds)
- #463 Simpler classful component check - this change possibly will allow to use recompose with Preact and Inferno.
- #479 flow v0.53 typings support, having this flow release it would be easier to combine recompose and 3rd party hocs.
(This PR must be merged to use with flow-typed, until that please use typedefs from current repo defs)
Thank you @developit, @deepsweet and others for your help!