zustand + trpc (basic data fetching)
im trying to use zustand with trpc, but having trouble setting some data to global state. What am i missing here?
i've also tried this with no luck
and this...
3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I would also perhaps advise against this pattern ... the react-query cache is as global as zustand, so why not use that instead? Maybe I'm missing something 🙂
Thank you for the clarification