Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

New lifecycles support #647

Merged
merged 5 commits into from
Apr 18, 2018
Merged

New lifecycles support #647

merged 5 commits into from
Apr 18, 2018

Conversation

istarkov
Copy link
Contributor

@istarkov istarkov commented Apr 13, 2018

In async mode propsMapper in withPropsOnChange can be called multiple times
it can be avoided using memoize see this commit 83fc7ca
but it does not solve some edge cases as memoize will work on all props so multiple calls will still be possible. So I think to remove it.

@istarkov istarkov self-assigned this Apr 13, 2018
@istarkov
Copy link
Contributor Author

next steps

  • New context api for existing HOCs,
  • new HOCs for new Context api,
  • move streaming HOCs into other package.

@istarkov istarkov requested a review from wuct April 13, 2018 19:15
@istarkov istarkov merged commit 6d3765a into master Apr 18, 2018
@istarkov istarkov deleted the new-lifecycles branch April 18, 2018 21:43
neighborhood999 added a commit to neighborhood999/recompose that referenced this pull request Apr 22, 2018
* Add CHANGELOG.md

* add lifecycle example in docs

* filter packages by the existence of a package.json file (acdlite#575)

* use static class properties to convert toClass implicit return arrow

* Adding an optional callback argument to the `dispatch` method provided by `withReducer`

* Fix babel-plugin-lodash name on readme (acdlite#606)

* Add a debugging section in README

* Fix a typo in README

* Update docs & readme

* babel-preset-es2015 -> babel-preset-env

* change rest element to be the last in restructuring

* Pass blacklist argument to hoist-non-react-statics using hoistStatics

* Add blacklist docs for hoistStatics (acdlite#635)

* Refactor rollup config (acdlite#645)

- move all bundles into dist folder
- add size snapshot
- remove treeshake test

* Update dependencies before changes according to React 16.3+ (acdlite#646)

* New lifecycles support (acdlite#647)

* Remove cache from withHandlers

* Update createSink

* Update withPropsOnChange

* remove memoize as useless

* Simplify code

* Include flow types into library (acdlite#649)

* Fix types for modern flow

* Move flow declarations and test into recompose

* Fix docs

* Remove errors

* Add yarn-error to gitignore

* Append flow 2 test

* Update release to support flow types

* Remove unneeded command

* recompose v0.27.0

* chore: update yarn.lock

* chore: update yarn.lock

* fix: fix scripts

* fix: remove flow command in test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant