Vilian
How to query with async/await
I'm trying to initialise my react context store on mount with data coming from trpc.
I'm using the t3 stack right now, and it's not immediately obvious on how to wait for the data to load before setting it in the store..
I'm using zustand and he is a snippet of my code
12 replies