-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
App hangs on use of Actions.refresh() #2791
Comments
I encountered similar problem after migrated to v4, especially when doing Action.refresh in componentDidMount. The setTimeout temporary workaround seems to have worked for me.
|
@simonso3 that workaround do not seam to work for me. |
Are you calling it multiple times relatively quickly? I had the same problem when I discovered a bug in my code that I was calling refresh multiple times unnecessarily. |
@simonso3 I encountered this when calling |
Use |
Version
Tell us which versions you are using: 4.0.0-beta.24
Expected behaviour
App should not hang after rendering view using Actions.refresh(); on NavigationBar after performing some action such as API call.
Actual behaviour
App hangs after rendering view using Actions.refresh(); on NavigationBar after performing some action such as API call / in-app logic.
Error: Maximum call stack reached
XHR finished loading: POST "http://localhost:8082/callback_result".
XHR finished loading: POST "http://localhost:8082/call_method".
The text was updated successfully, but these errors were encountered: