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

146
Views
Buttons not working with React-Router-Dom V5.2

I’m trying to make nested routing using React-Router-Dom V5.2 and made buttons for them.

Every time I click one of the buttons I'm still stuck on the same page. However, it works if I refresh the browser. I don’t know what happened to this package.

Here's my code :

<BrowserRouter>
    <Switch>
        <Route exact path="/" component={Home} />
        <Route path="/dummy" component={DummyTest} />
        <Route path="/examStart" component={Quiz} />
        <Route path="/summary" component={Summary} />            
    </Switch>
</BrowserRouter>
about 4 years ago · Juan Pablo Isaza
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!