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

98
Views
React Javascript, universal Header remove for Dashboard Site

I have a website, the header with the router function is on the "/" and I want to use another new header in the dashboard. So I want the header to be available to normal people on all pages, but in the dashboard it is invisible and another header is in the dashboard.

The Function:

<Route path='/' component={HeaderComponent} />
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You may created nested routes for

  1. /
<Route exact path='/'>
   <Header/>
   // Other components or Routes
</Route>
  1. /dashboard
<Route exact path='/dashboard'>
   <DashboardHeader/>
   // Other components or Routes
</Route>
about 4 years ago · Juan Pablo Isaza Report
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!