recompose
recompose copied to clipboard
A React utility belt for function components and higher-order components.
https://reactjs.org/blog/2020/02/26/react-v16.13.0.html#deprecating-reactcreatefactory > React.createFactory is a legacy helper for creating React elements. This release adds a deprecation warning to the method. It will be removed in a future major version.
Need some discussion before merging: 1. There were `rxjs4ObservableConfig.js` and `rxjsObservableConfig.js` (for rxjs 5) before. This PR upgrade `rxjsObservableConfig.js` directly to adopt rxjs 6, but it's a breaking change. We...
### I haven't got this part: `Additionally, the composition model here is dynamic! Everything happens inside of render, so we get to take full advantage of the React lifecycle and...
Should close #743
I propose this change because I am unhappy with the current way we use `setDisplayName(wrapDisplayName(...))` when we want to wrap the name of the base component. Here’s one way to...
I'm oblivious to any possible perf implications of doing this, please advise. Fixes #740
It is additional HOC for comparing anything you want with your own func that returns some object. I think it may be useful in some cases.
ref #671 from what I see it will be impossible to make `setStatic` HOC work with `compose`, as it breaks the usual definition of `HOC` as a function of `ComponentType...
...even if shouldMap returns false (we won't update computedProps) Fixes acdlite/recompose#666
* allow passing a class to toClass allows you to pass PureComponent or any custom class you want to inherit #from. * pass 'this' to toClass functional component allows functional...