DEV Community


React-router urls don't work when refreshing or writing manually or pasting- solved - React

alidhuniya profile image Ali Hussain Dhuniya ・1 min read

In this video, I will show you how I solved this problem which I recorded when I found the solution

The short answer is: use Hashrouter.

live app:
official docs:
github code:

Discussion (0)

Editor guide