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

TypeError: useRef$1 is not a function #60

Closed
JonathanStefanov opened this issue Jul 29, 2019 · 5 comments
Closed

TypeError: useRef$1 is not a function #60

JonathanStefanov opened this issue Jul 29, 2019 · 5 comments
Labels

Comments

@JonathanStefanov
Copy link

Description of the bug
I get that error whenever I put a component in my code. I do not get the error then that component is not there.

Screenshots
Error Message
My Code

@bluebill1049
Copy link
Member

what's your react version? is your react support hooks? 16.8

@JonathanStefanov
Copy link
Author

My react version is 16.6.3.
Should I upgrade it to 16.8?

@JonathanStefanov
Copy link
Author

https://github.com/kesne/with-react-hooks
I've tried to make it support hooks with that but it does not seem to work

@bluebill1049
Copy link
Member

@JonathanStefanov yeah I think you need to upgrade your React to 16.8
otherwise, you can use the older version 2.x

@bluebill1049
Copy link
Member

going to close this issue, feel free to reopen if you still have questions around it.

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

No branches or pull requests

2 participants