My react is running fine on local host, but when I upload it online for ex : Heroku, Vercel, It only shows the react home screen "edit app.js". The app is not working.
It might be because your index.html file being hosted still has the boiler plate code. Based on how you're deploying your app, a html is usually created for you with some boiler plate (I know firebase does this for example).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.