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

react-universal-hooks - use custom hooks in class #134

Closed
salvoravida opened this issue Mar 4, 2019 · 1 comment
Closed

react-universal-hooks - use custom hooks in class #134

salvoravida opened this issue Mar 4, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@salvoravida
Copy link

https://github.com/salvoravida/react-universal-hooks

Hi!

Could be usefull, if you need a custom Hook in your class component without refactor ...

your feedback would be appreciated!

@wardoost wardoost added the enhancement New feature or request label Mar 31, 2019
@wardoost
Copy link
Contributor

wardoost commented Oct 5, 2019

react-universal-hooks seems to override react exports which doesn't feel like the right way to implement this. I think the approach discussed in #597 is cleaner and more versatile.

@wardoost wardoost closed this as completed Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants