Dec 15, 2020 03:43 AM
(This post was last modified: Dec 15, 2020 03:45 AM by de_g3ntl3m4n.)
Please just look at this -> https://codesandbox.io/s/misty-sound-gvp...theme=dark
Basically, whenever I try changing the URL my page doesn't load, trying to make it load like a single page application with react-router-dom
I am literally doing the same things I other YouTubers do and still when I do it, it just doesn't want to work.
Can someone just please let me know what is wrong. I tried doing the Route in one line and then putting the component between
And nothing... I still get that one page to show up even though the URL is different, at this point I'm just losing my mind, when I copy someone else's code it works, but when I type it up myself.... it doesn't work... what the f is life.
If you tell me there is a typo with something I will cry, been at this for like 2 hours...
im fucking dead.. just look at my code and realized in my route I put to instead of path.. i am going to go cry now, sorry for wasting your time
Basically, whenever I try changing the URL my page doesn't load, trying to make it load like a single page application with react-router-dom
I am literally doing the same things I other YouTubers do and still when I do it, it just doesn't want to work.
Can someone just please let me know what is wrong. I tried doing the Route in one line and then putting the component between
Code
<Route></Route>And nothing... I still get that one page to show up even though the URL is different, at this point I'm just losing my mind, when I copy someone else's code it works, but when I type it up myself.... it doesn't work... what the f is life.
If you tell me there is a typo with something I will cry, been at this for like 2 hours...
im fucking dead.. just look at my code and realized in my route I put to instead of path.. i am going to go cry now, sorry for wasting your time


![[Image: KphILgT.png]](https://i.imgur.com/KphILgT.png)