react-powerplug
react-powerplug copied to clipboard
[Feature Request] React hooks support.
react-powerplug is the best repo to start supporting react hooks.
I think we may start with mirroring already perfected api and then look at new possibilities.
Thinking of opening a PR with the implementations in react-powerhooks
- Add a folder called
hooksinsrc. Corresponding tests will be intests/hooks. - Add flow types. Need help with ts types.
- Documentation is a bit unclear to me.
Hey @pksjce, why documentaton is unclear to you? I would like to understand the difficulties in order to improve it. Anyway, I can help you to understand too.
I can help with ts types if needed.
I refactored half of codebase with hooks, and it's more convenient than render props I used to write local state with react-powerplug, right now I don't know, is there any reason to still use it