-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
IE 8 support? Out of space error in Star Wars example #624
Comments
Same question here. Can we get Relay to support IE 8? We have React working with the polyfills, but can't seem to get Relay working... Is it a dead end, or some additional polyfills are needed? |
Thanks for your question. Unfortunately, we are unable to provide support for IE8. It may be possible to get Relay working on IE8 by using polyfills or workarounds, but we can't make guarantees that future changes won't cause a regression. |
Thanks for the reply. What is the lowest version you do support? On Tue, 24 Nov 2015, 07:44 Joseph Savona notifications@github.com wrote:
|
I was intrigued and got Star Wars example working in IE8 with a couple of changes:
Haven't tested it further, but the example renders fine. There are proptype and contexttype validation warnings due to shims adding extra Symbol-related properties to |
For now, we're happy to accept PRs for supporting IE9 and above. |
Does Relay support IE 8? I couldn't find a mention of it on the site anywhere, but I know React does (or did?)
In my testing with the Star Wars example, it is getting a stack overflow somewhere in React. It seems to be related to the
route
prop on theRelay.RootContainer
. It givesWarning: Failed propType: Function expected
, then the "out of stack space" error at app.js line 11918, character 15 (I'm not sure if this is useful due to webpack, but its in the finally block of the Transaction Mixin's perform method).Stepping through it shows it is crashing somewhere in the validate prop methods when it is validating the
route
prop. I had trouble getting more details because IE8's developer tools are impossible to use.EDIT:
Additionally, it seems that there is an infinite recursion where
RelayQueryNode.create
callscreateNode
which callsRelayQueryNode.create
until it gets a stack overflow. This may be unrelated to the other issue, as it seems to happen when parsing the response from the server. It looks like on Chrome a completely different createNode function gets called. Really weird.The text was updated successfully, but these errors were encountered: