HOWEVER, when you try opening another route in a new tab, it doesn’t work!!! ( you can try in the deployed web app link) I have no idea why such an error happens.
Meanwhile, there’s no such problems/ issues on the development mode on localhost
Can you guys teach me what the problem is and how I can fix it? Thx in advance!
I would suggest reading through the top accepted answer on stackoverflow for suggestions on how to fix it.
Based on that stackoverflow answer it looks like maybe use hashrouter might be the easiest option.
But it doesn’t seem to have good SEO according to the answer.
But maybe you can explore each option and see which one works for you.