React app failed to load on refresh | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

React app failed to load on refresh

Hello, I got a react app that works fine but once I'm in a url like localhost:3000/about for example, it fails if I refresh. What should I do? What happen? Btw I'm using react-dom-router v6.5

3rd Jan 2023, 8:53 PM
Shaya Mario
Shaya Mario - avatar
1 Answer
0
The server is started. It works fine but failed if i reload on a sub url. Only the home works
4th Jan 2023, 7:57 AM
Shaya Mario
Shaya Mario - avatar