Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
React.js Router showing white screen

Why is it only showing a white screen when i try to add a new page on both pages

import './App.css';
import Header from './Header';
import Home from './Home';
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";


function App() {
  return (

    // BEM
    <Router>
      <div className="App">


        <Routes>
          <Route path="/check">
            <Header />
            
          </Route>


          
          <Route path="/">
            <Header />
            <Home />
          </Route>
        </Routes>

      </div>
    </Router>

  );
}

export default App;

Why is it only showing a white screen when i try to add a new page on both pages

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!