-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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 Navigation support useEffect Hook? Error callback is not a function #5851
Comments
did you get it figured out? feel free to share |
Also seeing this issue with navigating to components that implement
@cassubianApp why did you close the issue? |
I'm getting the same behaviour here. It doesn't matter what's the effect even useEffect(() => null, []) crashes |
Getting the same issue. Has anyone figured out a solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a problem with the useEffect hook in React Native. When I next navigate to the component with useEffect I get following error : callback is not a function.
https://github.com/cassubianApp/react-navigation-test
it looks like the hook is calling, but right after that it gets a bug. Could this be a problem with my configuration or if React Navigation does not support hooks
react-navigation 3.9
react-native 0.59
The text was updated successfully, but these errors were encountered: