Kotzie786K
Deno•12mo ago
Kotzie786

Loading Skeleton

Hi everyone 👋, I’m building a FreshJS app and running into a persistent CORS issue when trying to fetch data from Supabase.

The app technically fetches data successfully, but I keep getting CORS errors in the browser console, which interrupts hydration and breaks signals like
IS_BROWSER
.

My goal is to have a skeleton loader show up immediately while the data is being fetched asynchronously—and then seamlessly replace it with the fetched content when the data is ready.

I am very confused on how to make this work seamlessly with minimal delay. Any help on this would be appreciated.
Was this page helpful?