DEV Community

samreshkumar
samreshkumar

Posted on

When I directly hit page URL or refresh the page on live its show 404 error. How to resolve the problem in react js

Top comments (1)

Collapse
 
nerdychap profile image
Siyabonga Hlengwa

Are you using react router? You might need to configure your server or your app to serve 1 page for all routes.