You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the _app.tsx file to fetch data that is needed by every page on the app. However, at the moment it refetches the data on every page. I want to add a check to see if the data is already in redux, however the store is always empty in the _app file. Is this possible to even do? If not, does anyone know of a suitable alternative?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the _app.tsx file to fetch data that is needed by every page on the app. However, at the moment it refetches the data on every page. I want to add a check to see if the data is already in redux, however the store is always empty in the _app file. Is this possible to even do? If not, does anyone know of a suitable alternative?
Beta Was this translation helpful? Give feedback.
All reactions