terenced
Explore posts from serversSolid +Astro SSR + Data Fetching on hydration
Hi! I working on an Astro site with Solid and I am having trouble getting Solid to fetch data.
I would like to only fetch the component has been hydrated, but can't seem to get it to work.
I am trying to detect if we are on the client by looking if window is defined.
The console logs are correct, but the fetch is never triggered.
What am I doing wrong? Please keep in mind this is the 1st time I am using Solid
4 replies