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

140
Vistas
Nextjs page refresh after clicking a route button for the first time

Basically, when the initial page build happens and we are on the index page, after clicking any button that changes the route, for example, the Link tag, the router method using push and replace, (yes, i have tried both) triggers a page refresh the first time, after the reload happens and i click the button again, rendering actually happens and i get to the route i want, how do i make it so that the first refresh does not happen and the user can just get to the route they want? Please ask me any more information you need.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I don't know much about next.js but I think it doesn't refresh the page in production. Even if it does then next.js will caches that on the server which means only 1st user has to face the refresh.

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