-
Notifications
You must be signed in to change notification settings - Fork 8
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
Pushing a scene outside of tab view results in "Maximum call stack size exceeded" exception #2
Comments
@rgovindji thanks for your feedback! |
@rgovindji have u figure it out this error? |
I think this happens when you pass an |
I haven't had a chance to figure it out. I wasn't passing an environment prop to the Relay wrapper. I believe I was doing something wrong but I'll attempt integrating this on the weekend. |
this happens when you pass environment parameters, this line is the problem https://github.com/r0b1n/rnrf-relay-renderer/blob/master/src/RelayComponentRenderer.js#L39 we cannot pass all the params inside queryConfig |
@r0b1n can we move the params of queryConfig to this line https://github.com/r0b1n/rnrf-relay-renderer/blob/master/src/RelayComponentRenderer.js#L50 what do think? I don't submit a PR for this |
in fact it is not so simple, if u wanna we can discuss this on gitter, slack, email, twitter, email, whatsapp, just let me know |
Hi @sibelius
We need to pass I am not sure, I thinks moving params to L50 won't work. I may be wrong. |
yeah, it does not work. I'm trying to figure it out which part of navigationState is causing this error |
It is breaking here https://github.com/facebook/relay/blob/master/src/container/getRelayQueries.js#L44 it only breaks if I pass environment to params |
this happens because stableStringify does not handle circular references |
small fix to handle this for now: sibelius@fd3140d |
fixed on master @r0b1n please close this after some tests |
I have a scene outside of my tabs that I push onto the nav stack. Whenever I call Actions.[Scene] I get the following error:
[tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Maximum call stack size exceeded
The text was updated successfully, but these errors were encountered: