Writing
Notes from the work.
Posts written here, and articles I’ve published elsewhere. Anything marked with ↗ opens on the site where it was published.
- On this siteMy Stripe webhook handler looked safe. Replaying 14 real events broke it in 24 of 50 runs.I chaos-tested a careful-looking NestJS and Postgres webhook handler with real Stripe test-mode events. It had two bugs: a double-payment race and a refund that could be undone.
- This Dot Internationalization in Next.js with next-intlHow to bring seamless internationalization to a Next.js app using next-intl.(on This Dot, opens in a new tab)
- This Dot Understanding effects in SolidJSEffects are how SolidJS manages side effects and reactive dependencies. Here is how they work and when to use them.(on This Dot, opens in a new tab)
- This Dot Setting up a local cloud environment with LocalStackTesting an AWS-powered app without maintaining a dev account is hard. LocalStack runs those services on your machine.(on This Dot, opens in a new tab)
- This Dot Testing React hooks and components with VitestA walkthrough of testing React custom hooks and components with Vitest, and how it simplifies the setup.(on This Dot, opens in a new tab)
- This Dot File-based routing with Expo RouterExpo Router brings file-based navigation to React Native and web apps, with the same components on Android, iOS and the web.(on This Dot, opens in a new tab)
- This Dot Async data fetching with createResource in SolidJSHow to handle async data fetching in SolidJS using createResource.(on This Dot, opens in a new tab)