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

Implement hooks based approach #3

Open
Boosmith opened this issue Aug 4, 2019 · 0 comments
Open

Implement hooks based approach #3

Boosmith opened this issue Aug 4, 2019 · 0 comments

Comments

@Boosmith
Copy link
Owner

Boosmith commented Aug 4, 2019

I was running into issues I think with webpack-dev-server and babel with using hooks. I was getting the dreaded " Uncaught Invariant Violation Invalid hook call". eg. facebook/react#15742
I spent a while looking into this, and trying out react-hot-loader's approach eg. https://github.com/gaearon/react-hot-loader but that ended up introducing a new problem... "Functions are not valid as a React child". eg. gaearon/react-hot-loader#832 But it could be something else entirely...

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

1 participant