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

204
Visualizações
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 à 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