I cannot decide which state manager should I use for fetching data, store it and make it reusable in different parts of the application with app route.
To be more specific:
- When the app initial loads (in whatever route), I want NextJS to fetch some data and the store it.
- Then from different pages/routes/components (client components) to be able to access that data, mutate it and make it persistent accross routes or invalidate the cache or whatever.
I have experience with Redux Toolkit and RTK Query, Zustand and Tanstack but I just don't know which one to use for a small project.