Joonas' blog

Posts tagged nextjs

Bringing <Button> to the React Server Component world

How React Server Components change a design system <Button>: async onClick, loading state, submit status and confirm prompts.

Next.js + Supabase app in production: what would I do differently

My learnings for building a Next.js and Supabase app and keeping it running in production

Next.js: request parameter reference

How to read route params, query params, headers, cookies and the client IP, and how to redirect, in each kind of Next.js component and handler.

Next.js app directory: URL-synced state

How to store state in URL with Next.js app directory

Implement user impersonation in Supabase

Let admins log in as any user in a Next.js and Supabase app, with the code to start and stop impersonation.

Type-safe prop passing in Next.js server components

Flexible method for easily passing typed data from server in Next.js server components

All posts