Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

96
Visualizações
is there a way to implement react scroll along with react router dom?

I have a navbar with links that scroll to sections of page using react-scroll. i also have several pages and im using react-router-dom for navigating between pages. but when i click on the links in navbar when on a different page, it says element not found. so i wrapped the link in Navlink from react-router-dom. now this works as i want it but on a different page when i want to switch pages, it takes a lot of time to render the switched page. almost like 2-3 seconds. and if i dont use react-scroll, the pages are rendered instantly.

so is there a way to use react-scroll and react-router-dom without causing this delay?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

there is a youtube tutorial if you would like to have to a look, it build website from scratch using router and react-scroll:


https://youtu.be/Nl54MJDR2p8

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda