How React ROUTER works??

Hi guys, I am using Router for the first time in React, but I am having issues with it. First, I installed React-router-dom in the terminal by using this command here
npm install react-router-dom localforage match-sorter sort-by
npm install react-router-dom localforage match-sorter sort-by
...So, it should be working perfecty, but it doesn't. As you can see in the image below,should be appearing the message in the h1 tag. What can I do to solve this?
5 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Sste
SsteOP•2y ago
It worked when I deleted the BrowserRouter from the main.jsx. But thanks anyway 🙃
vince
vince•2y ago
Next.js is a totally different use case, CSR vs SSR
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server