rehook
rehook copied to clipboard
Make React Hooks out of your Recompose enhancers
I have optimized withHandlers like this ```js const withHandlers = handlers => (props: any = {}) => { const realHandlers = React.useMemo( () => (typeof handlers === "function" ? handlers(props)...
The "Smart/Presentational Components" section of readme says that `pipe(withProps({}), Component)` is a supported use case. The implementation of `pipe()` is concise and elegant. Unfortunately it doesn’t work when the supplied...
I actually had thought of starting a project like this when I saw the announcement that Recompose is being discontinued. We use Recompose heavily at my company and while I...
Would this be a welcome addition?
There is no github link to this package on the npm package page - https://www.npmjs.com/package/@synvox/rehook Also, i really like the ideas and direction of this package!
I've made a start to this and I think the declarations file is good but I may need a bit of help. ~~Specifically, by default, when you run an `npm...