How to Properly Fetch and Persist Global App Parameters in Next.js with Zustand and React Query?
I’m currently working on a project using Next 14 with server actions. I want to manage global app parameters (such as cities, countries, opening hours, banks list) that need to be fetched from the server once a user logs in. These parameters should be stored in local storage since they don’t change frequently and need to be available globally throughout the app for the user session.