-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White blank screen using React Router #1493
Comments
Have you found a solution for this issue? I am also having the same propbelm. It works perfectly If I am not using router components |
I see typeo in App.js |
am facing the same problem |
use this:
|
Thanks this helped me. |
I am having the same problem. I used the same import but still nothing. |
Please I need help with this also |
i think the problem is arrising from components itself , i am using a arrow function export component changed to simple rfc |
This worked for me:
https://stackoverflow.com/questions/71972523/navlink-link-from-react-router-dom-not-working-blank-screen/71992282#71992282
…On Sun, Jul 3, 2022 at 10:52 AM devesh911 ***@***.***> wrote:
i think the problem is arrising from components itself , i am using a
arrow function export coit mponent changed to simple rfc
—
Reply to this email directly, view it on GitHub
<#1493 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOWDIYDN3X5CBN6AGVZXINLVSGSLZANCNFSM4HD3NVKQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I uninstalled the current version and installed the old one by using this command |
try updating npm also |
latest
the latest react router dom is unstable.. the prev version works fine |
Something should be done about this, no solution works. People's futures depend on things like this. Doing a Mern stack project to apply for a job and all I am seeing is blank pages |
Guys, If you really wanna fix this. The only way is this. Install the old version 😄 |
Sorry this is as far as I can help.
I haven't been doing react for some time now.
…On Wed, Jul 20, 2022 at 3:39 AM nithiyashree22 ***@***.***> wrote:
latest
try updating npm also
the latest react router dom is unstable..
—
Reply to this email directly, view it on GitHub
<#1493 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOWDIYFGGPAWOQDVPHJUTJDVU6UKNANCNFSM4HD3NVKQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Bemenet S. Bekele (he/him)
Toronto, ON.
|
Below Link is working fine this is the router version issue , problem will resolve after follow below link instruction with latest Router version. Thanks |
import React from "react"; import "./index.css"; ReactDOM.createRoot(document.getElementById("root")!).render( do this in index.js |
I am use React Router for my web app, it will build successful but its just show blank white screen. Any body help to fix it.
App.js
Home.jsx Code
The text was updated successfully, but these errors were encountered: