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
useEffect
not working with NODE_ENV=production
#103
Comments
Adding a (NODE_ENV=production)
(NODE_ENV=development)
|
That's quite strange indeed. Maybe they added some methods to the scheduler related to hooks and we did not add those. Side question: does the function you give to useEffect in your case returns a unsubscribing function? |
@Yomguithereal Some do, some don't. It seems somehow unrelated. You can find the code here (all three |
As soon as you add
NODE_ENV=production
and calluseEffect
in a functional component, here is the error I get:The text was updated successfully, but these errors were encountered: