7 articles tagged React.
How Server Actions work, why they are safer than an API route for form handling, and the validation and authorisation you must not skip.
The TweakPad Team
A practical tour of the App Router — layouts, route groups, loading and error boundaries, dynamic segments and generateStaticParams — and when to use each.
The TweakPad Team
A diagnosis-first guide to React performance — how to find the real bottleneck with the Profiler, and the five fixes that account for most real-world wins.
The TweakPad Team
What React does with keys during reconciliation, the concrete bugs index keys cause, and how to pick a key when your data has no id.
The TweakPad Team
What Server Components actually are, the client boundary, what you can and cannot pass across it, and how to decide which components need "use client".
The TweakPad Team
Memoisation in React has a real price. Here is how to tell which of the three legitimate cases you are in, and why most useMemo calls are net negative.
The TweakPad Team
useState, useEffect, useRef, useReducer and the newer hooks — what each is for, the dependency-array rules, and the mistakes that cause infinite loops.
The TweakPad Team