-
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
Not rendering on Chrome 41 / Google bot #945
Comments
Fixed it by using this plugin: https://github.com/sheerun/targets-webpack-plugin |
What's the problem that plugin is fixing? |
As far as I understood it transforms the code removing the features available only in newer browsers. Like arrow functions. |
The package is compiled before it is published, i.e., there are no arrow functions. |
Hm, I'm not sure then 😕Picked this explanation up from one of the comments on a similar issue vercel/next.js#3126 (comment) |
I'm using RNW with Next.js as in this example https://github.com/zeit/next.js/tree/canary/examples/with-react-native-web
Pages load in newer browsers, but fail to load in Googlebot / Chrome 41. Here is an error:
Any idea how to fix?
The text was updated successfully, but these errors were encountered: