$chiubaca / notes / fleeting / 2022-08-21
  • the useEffectOnce trick is bad
    • 20220820

  • React useEffect firing twice in development is causing me so much pain still can’t figure out how to make this work with Supabase real time subscriptions cleanly. Asking for help

  • Looking at svelte kit again
    • +page.js is a new convention that indicate there is some additional server logic that needs to be run before the page is rendered. Is this the equivalent of getServerSideProps ?

    • Nested layouts

      • note +layout.js mean each layout can also have it own server side logic
Edit on GitHub ✏️

Hey I'm Alex Chiu 👋. These are my notes for literally anything.

I'm using the Zettelkasten method to organise my thoughts here.

My more polished writings are published to my main blog at chiubaca.com

Follow me on: Github / X (Twitter) / Mastodon / LinkedIn