SolidJSS
SolidJSโ€ข3y agoโ€ข
1 reply
TaQuanMinhLong

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
Was this page helpful?