Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

97
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda