r/learnreactjs • u/MustafizuRutSho • Aug 29 '22
Question React Router Dom not working
This was the page earlier. It was fine then after using React Router Dom page was empty
After adding <Routes> <Route path="/" element={<HomeScreen />} /> </Routes> this command my page goes blank.
4
Upvotes
View all comments
Show parent comment
5
u/marko_knoebl Aug 29 '22
I only see a 0KB file in there.
In general, when you want to share code, I could recommend GitHub or codesandbox - those could be easier to manage.