Skip Navigation code drift

TypeScript

Next.js Attempting to Pre-Render route.ts Files

(1 min read) Your route.js / route.ts likely needs to force dynamic rendering. export const dynamic = "force-dynamic"; Otherwise during the build process. Next will try and pre-render that page. That means it calls APIs, needs process.env, etc. It will do this even though route.* would lead you to believe

Tailwind CSS for Email

(7 min read) I can no longer count the hours Tailwind saves me. I don't really hate the state of CSS-in-JS. I just find it gets in the way of quickly saying "make this blue, put it in a flex box oriented by row, with the items centered." It&

GitHub as a CMS

(4 min read) GitHub's rich GraphQL API gives you a built-in headless CMS