Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] React hooks support. #184

Open
rockmandash opened this issue Oct 27, 2018 · 4 comments
Open

[Feature Request] React hooks support. #184

rockmandash opened this issue Oct 27, 2018 · 4 comments

Comments

@rockmandash
Copy link

react-powerplug is the best repo to start supporting react hooks.

@TrySound
Copy link
Collaborator

I think we may start with mirroring already perfected api and then look at new possibilities.

@pksjce
Copy link

pksjce commented Oct 29, 2018

Thinking of opening a PR with the implementations in react-powerhooks

  1. Add a folder called hooks in src. Corresponding tests will be in tests/hooks.
  2. Add flow types. Need help with ts types.
  3. Documentation is a bit unclear to me.

@renatorib
Copy link
Owner

renatorib commented Nov 6, 2018

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.

@egoarka
Copy link
Contributor

egoarka commented Nov 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants