Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!