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

200
Vistas
RTK Query With Next JS?

I am struggling to get my head around NEXT JS with RTK Query I'm trying to share data with multiple pages I just want one place where the data is added to the store so I am not making multiple calls.

I want to call the query once and then access the data from all over the site. apose to calling it multiple times on different pages?

I can't have it called on one page because the user might navigate to the other page where it has not been fetched yet

what is the best way to do it?

in the next docs it says you can override the _app https://nextjs.org/docs/advanced-features/custom-app BUT I won't be able to use the RTK Query hooks in that.

enter image description here

about 4 years ago · Juan Pablo Isaza
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