If the browser that comes with oppo R9 cannot open the web page, what causes it when you debug it?

after development, most of the compatibility problems of the mobile phone are found in the browser that comes with the phone. The project of the landlord is written in react.js, and the project is created with the scaffolding of react. I just want to ask the boss how to debug the compatibility problem of the built-in browser

.
Apr.01,2021

first of all, if your page runs well on the desktop Google browser, take a look at the following

add something to < div id='app' > < / div > in your index.html . For example, < div id='app' > is loading.. < / div >

normally, when the page opens, is loading.. , and the page will not be rendered until the packaged js is loaded.

if is loading.. on your phone, then there will be no response. It is estimated that the packaged js is running wrong.

there may be symbol these es6 grammars. You can lower the react-scripts version, for example, to 0.9.0 (the latest version is 1.1.x), and then try to repackage

.
Menu