React: I got a white screen with react 16.2.0!

Created on 4 Mar 2018  路  5Comments  路  Source: facebook/react

Hey, there! I'm FE developer.

I had met a big problem when I try to use the latest react 16.2.0 and react-dom 16.2.0.

The situation is that I got a white screen on my Huawei Honor v10 phone with android 8 browser as show below, whether I create the app with official create-react-app script or make a config of webpack by myself.

image

note: I use eruda to look for mistake in this bowser but got nothing.

This app created by official create-react-app which got white screen only happen in the android vender browser, and it display properly in my lastest chrome mobile.
And about the react version, react 15.6.2 and react-dom 15.6.2 works fine in both bowser.

Is there any way to solve this? Tell me please.

Thanks.

Most helpful comment

All 5 comments

Thanks, it works. @gaearon

I also encounter this issue, but import both 'core-js/es6/map銆乧ore-js/es6/set' still doesn't work? The page is still empty. What can i do?

Same here still doesnt work

import core-js/es/map core-js/es/set core-js/features/set core-js/features/map
still not work :(

Was this page helpful?
0 / 5 - 0 ratings