Topics
React
All articles on React, newest first.
Transparency: I have revised all articles afterwards with the help of AI and translated them from German with its help. The ideas, experience and positions are my own. The audio versions of the German originals are read by a synthetic voice.
React Overview: From JSX to Component Architecture
A complete walk through React the way I teach it today – from declarative rendering through the question of who owns a piece of state to the architecture of a growing application. The details of individual stops will follow later as separate posts.
Forms in React 19: Actions, useActionState and useOptimistic
React 19 makes the form the actual interface: a function as the form action, plus three hooks for the result, the pending state and instant UI feedback. This post shows how they work together – and where optimistic rendering breaks down without a clean error path.
React Server Components and Server Actions: The New Boundary
Server Components run outside the client bundle and send their result to the browser instead of their code. Server Functions move writes to the server – both are implemented by a suitable framework or bundler.
2024 5
2024 5
- React Router Data Router: The URL as the Place for StateThe data router in React Router makes the URL the point of coordination – a route loads its data via loader before rendering and writes via action, so loading logic disappears from the component body.SoftwareFrontendReact
- React Transitions: Non-Urgent Updates with useTransitionuseTransition marks updates as non-urgent and keeps React responsive during expensive or suspending renders. Plus useDeferredValue as the tool for downstream renders.SoftwareFrontendReact
- Suspense and the use Hook: Rendering as If the Data Were Already ThereInstead of managing a loading state in every component, Suspense lets you describe in a single place in the tree what appears while waiting – and the use hook lets the component below render as if the data had long arrived.SoftwareFrontendReact
- Client State vs. Server Cache: The Most Consequential Boundary in the FrontendServer data is state, but not client-owned state. Why this distinction matters, when useEffect turns into a bad cache and what a server state library takes over.SoftwareFrontendReact
- TypeScript in React: Typing Props, Hooks and EventsHow props and state become verifiable contracts – and your editor reports errors before your users see them. From interface/type through useState generics and event types to useRef and utility types.SoftwareFrontendReact
2023 1
2022 1
2021 3
2021 3
- State Management in React: Redux Toolkit, Lightweight Stores, MobXWhen state is truly app-wide, the tool question comes up – Redux Toolkit, a lightweight store such as Zustand or Jotai, or the reactive model of MobX. But why this choice only comes after the counter-check, and usually turns out smaller than expected.SoftwareFrontendReact
- Using Context Well: A Distribution Path, Not Secret Global StateContext solves distributing data through the tree – but not the question of who owns the state. If you confuse the two, you build a global store through the back door and cause unnecessary renders when provider values change carelessly.SoftwareFrontendReact
- Preserving and Resetting State: React and the Position in the TreeReact does not store state in the component but at its position in the render tree – once you understand that, you control preservation and reset on purpose instead of by accident.SoftwareFrontendReact
2020 2
2020 2
- How React Renders and Updates the TreeFrom the JSX element to the visible pixel – what exactly happens between a state change and the redrawn screen. Render and commit as separate phases, the comparison of two trees and why React almost always touches only a tiny part of the DOM.SoftwareFrontendReact
- JSX Precisely: The Rules Behind the MarkupA precise look at JSX – what the compiler turns it into, why curly braces hold expressions rather than statements, how attributes, children, conditions and lists work, and where beginners stumble.SoftwareFrontendReact