Logo
AboutArchiveSnippets

frontend

My Next.js App Setup Checklist (2025 Edition)

11 min read

My personal checklist that gets me from create-next-app to a fully configured development environment.

nextjsemotion

Migrating from SSR to ISG: A Production Performance Story

9 min read

Reducing p99 latency and infrastructure costs by migrating a recipe application from SSR to ISG with on-demand revalidation

nextjssupabase

Fixing Cookie Loss When Proxying from Fastify → Next.js

4 min read

A workaround for preserving cookies when using Fastify as a custom server for Next.js, ensuring cookies are not lost during SSR.

nextjsfastify

Generating TypeScript Types from JSON Data - A Custom Solution

3 min read

Automate TypeScript type generation from JSON data fetched from a CMS with a custom solution when existing libraries don’t work.

typescript

Setting Up Dark Theme with Emotion & Next.js

4 min read

Set up a dark/light theme toggle in a NextJS app with Emotion that respects user preferences

css in js

Configuring Emotion for SSR in Next.js

2 min read

Configuring Emotion with Next.js for SSR, ensuring global CSS like background or font colors render server-side to avoid unstyled pages.

css in js

Adding Syntax Highlighting to MDX with Prism and Next.js

2 min read

Adding syntax highlighting to an MDX blog using Prism, Next.js, and TypeScript — fast, minimal, and clean.

prismmdx
© 2024-present Zoe