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.