Articles
Notes from the trenches.
42 articles about web development, React, Next.js, TypeScript and more. RSS
- 1 min
Internationalization in the Next.js App Router
Locale prefixes, next-intl vs DIY dictionaries, server vs client messages, RTL, and SEO with hreflang.
- Next.js
- i18n
- React
- 4 min
Less useEffect: data fetching in modern React
Why useEffect-based fetch became a default, what breaks (Strict Mode, stale closures, waterfalls), and how Server Components, route loaders, and TanStack Query each fit different constraints.
- React
- Next.js
- 2 min
Zustand for client state (and hydrating from the server)
When a small store beats Context, slices and middleware, persist middleware caveats, and passing initial state from RSC without duplicate fetches.
- React
- TypeScript
- State management
- 2 min
Web Workers to keep the main thread responsive
When to offload parsing, heavy transforms, and WASM; Comlink for ergonomics; and transferring ArrayBuffers instead of cloning megabytes.
- JavaScript
- Performance
- Browser
- 3 min
Migrating ESLint to flat config (eslint.config.js)
Flat config end-to-end: typescript-eslint project service, import sorting, React hooks rules, monorepo roots, and CI pitfalls when upgrading from .eslintrc.
- JavaScript
- DX
- Tooling
- 2 min
Changesets and SemVer in JavaScript monorepos
Fixed vs independent versioning, bump strategies, CI publishing, and how consumers interpret semver ranges.
- Monorepo
- DX
- Tooling
- 3 min
Design tokens with Tailwind and CSS variables
Semantic color tokens, HSL channels for alpha, shadcn-style theming, dark mode strategies, and how to keep Tailwind classnames readable without scattering raw hex values.
- Tailwind CSS
- CSS
- Design Systems
- 2 min
OpenTelemetry tracing in Node.js services
SDK setup, auto-instrumentation, context propagation across fetch and DB, OTLP exporters, and sampling in production.
- Node.js
- Observability
- DevOps
- 3 min
A type-safe client from OpenAPI
openapi-typescript for paths and operations, Orval for React Query hooks, runtime validation with Zod, and CI gates so generated code never drifts from production APIs.
- TypeScript
- API
- DX