How to put the query result in a zustand store? #2550
-
I want to put the result of a query in a zustand store:
I can access the auth user everywhere using just But as you might guess that gives me an How should i handle this? Any opinion about this strategy? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I answered on stackoverflow: https://stackoverflow.com/questions/68690221/how-to-use-zustand-to-store-the-result-of-a-query |
Beta Was this translation helpful? Give feedback.
I answered on stackoverflow: https://stackoverflow.com/questions/68690221/how-to-use-zustand-to-store-the-result-of-a-query