Loading data into context

Hi what's the best practice to load data from server (like using prisma) into the context? i did try some method like using createServerData$ but seems like only if I call the getter function inside the JSX Element, then the fetcher will work, other wise it won't, the data.state is just pending, won't beready
1 Reply
Raqueebuddin Aziz
thats how resource work I believe, they are only fetched if accessed
Want results from more Discord servers?
Add your server