React-Relay older browser support (blank site)

197 views Asked by At

I have a react-relay graphql app that works perfectly on new browsers, but on safari 5.1.10 (2013) it doesn't work. The site is just white. Same happens with older versions of chrome.

The console gives: TypeError: 'undefined' is not a function (evaluating 'e.startsWith("client:")')

I looked through react-relay/dist/relay.min.js and saw isClientID:function(e){return e.startsWith("client:")}.. it seems thats the failing function.

Has anyone encountered this before? Any ideas on a fix or what could be causing it?

new error

0

There are 0 answers