Joonas' blog

Posts tagged react

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.

Opinionated UI: SVG icons in React

Opinionated way to use SVGR to serve SVG icons in a React design system library

Type-safe prop passing in Next.js server components

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

Opinionated UI: <Button> in React

Opinionated way to create a Button component in a React design system library

Building complex and interactive forms for React

How I built a complex form for React (with react-hook-forms). An introduction and learned best practices on how some common complex form usecases might be handled.

All posts