We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-relay threw an error when ran a react app on Chrome 43. Same app worked as expected on Safari 9.0.1
react-relay
Seems that it's using Array.prototype.find() but it's not supported on some browsers.
Guess that this issue can be worked around by adding a polyfill for Array.prototype.find to my react app.
Array.prototype.find
Maybe I haven't looked hard enough, but I can't information on browser compatibility for react-relay.
Cheers!
// Value of `_this3.getCallsWithValues` when inspected _this3.getCallsWithValues() = [{ name: "name", value: "value" }]
RelayQuery.js:451 Uncaught TypeError: _this3.getCallsWithValues(...).find is not a function (anonymous function) @ RelayQuery.js:451 getIdentifyingArg @ RelayQuery.js:459 (anonymous function) @ getRelayQueries.js:59 getRelayQueries @ getRelayQueries.js:48 instrumentedCallback @ RelayProfiler.js:131 _runQueries @ RelayRenderer.js:123 RelayRenderer @ RelayRenderer.js:105 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:148 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:225 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:225 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:225 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:225 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 ReactCompositeComponentMixin.mountComponent @ ReactCompositeComponent.js:225 ReactPerf.measure.wrapper @ ReactPerf.js:66 ReactReconciler.mountComponent @ ReactReconciler.js:37 mountComponentIntoNode @ ReactMount.js:266 Mixin.perform @ Transaction.js:136 batchedMountComponentIntoNode @ ReactMount.js:282 Mixin.perform @ Transaction.js:136 ReactDefaultBatchingStrategy.batchedUpdates @ ReactDefaultBatchingStrategy.js:62 batchedUpdates @ ReactUpdates.js:94 ReactMount._renderNewRootComponent @ ReactMount.js:476 ReactPerf.measure.wrapper @ ReactPerf.js:66ReactMount._renderSubtreeIntoContainer @ ReactMount.js:550 ReactMount.render @ ReactMount.js:570 ReactPerf.measure.wrapper @ ReactPerf.js:66 (anonymous function) @ app.js:46 (anonymous function) @ bundle.js:168 __webpack_require__ @ bootstrap e340b8761ce8948d8f96:19 (anonymous function) @ bootstrap e340b8761ce8948d8f96:39 __webpack_require__ @ bootstrap e340b8761ce8948d8f96:19(anonymous function) @ bootstrap e340b8761ce8948d8f96:39 (anonymous function) @ bootstrap e340b8761ce8948d8f96:39
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up. We extensively use the latest ES features and would recommend using a polyfill (the babel polyfill is 👍)
Sorry, something went wrong.
No branches or pull requests
react-relay
threw an error when ran a react app on Chrome 43.Same app worked as expected on Safari 9.0.1
Seems that it's using Array.prototype.find() but it's not supported on some browsers.
Guess that this issue can be worked around by adding a polyfill for
Array.prototype.find
to my react app.Maybe I haven't looked hard enough, but I can't information on browser compatibility for
react-relay
.Cheers!
The text was updated successfully, but these errors were encountered: