$ ls ~/writing/til
TIL
Small things learned, written down fast.
next/og renders with Satori, which only understands ttf, otf and woff. My self-hosted woff2 fonts didn't work there.
Pressing keys right after page.goto can beat the React effect that attaches the listener. Wait for a ready marker.
Reading localStorage during the first client render makes it differ from the server HTML. skipHydration fixes it.
Tailwind 3's preflight gave buttons cursor: pointer. Tailwind 4 follows the browser default instead.
next/font/google downloads fonts at build time, so a network blip fails the build. Self-hosting fixed it.
The blog booth reads my Hashnode posts from RSS, because the GraphQL API moved behind the Pro plan.