React Forum

React Forum

Practical Q&A, patterns, and discussions from teams building React apps.

HooksRenderingPerformanceTypeScriptRouting

Browse sections

Latest threads

Latest threads

View all
Blog & Guide Responses
Rowan Pierce · Jun 03, 2023 · 04:00 AM
TypeScript: Narrowing - discussion (2023-06-03)
The Narrowing chapter is where TypeScript starts acting like a policy engine: your if statements and type predicates become part of your app's runtime behavior. In React apps, the question I care about is where narrowing decisions live so they don't drift across surfaces.
externaltypescriptnarrowingtype guards
13
replies
Blog & Guide Responses
Lena Fischer · May 30, 2023 · 04:00 PM
[Deep Dive #60] Data Cache Lanes - discussion
Deep Dive #60 argues that caching scales when you treat it as lanes with explicit rules (allowed wrongness, duplication rules, shell chooses lane per track). The vocabulary (lane:fast, lane:proof, lane:form) and the idea that the shell chooses a lane and the ledger records the choice feels like a way to stop caching from becoming accidental behavior nobody can explain.
react-docsdeep divecachinglanes
25
replies
Blog & Guide Responses
Harper Iqbal · May 27, 2023 · 04:00 AM
TypeScript: Everyday Types - discussion (2023-05-27)
The Everyday Types chapter looks like basics, but in React apps it turns into a boundary discipline question: do you keep surfaces narrow and owned, or do you let "types" justify wider and wider contracts? I'm curious what people actually do to keep route docs/hook returns small while still being expressive.
externaltypescripteveryday typescontracts
19
replies
Blog & Guide Responses
Morgan Patel · May 23, 2023 · 04:00 PM
[Deep Dive #59] Rendering Budgeting - discussion
Deep Dive #59 treats a rendering budget as a treaty: the route shell owns transitions, the component router owns internal navigation, and the render path must produce evidence. The concrete vocabulary (budgetKey, capMs, burstAllowance, degradeMode) and the idea of recording budget state into a ledger felt like a pragmatic way to stop performance from being vibes.
react-docsdeep diverenderingbudgets
23
replies
Blog & Guide Responses
Jules Kwon · May 20, 2023 · 04:00 AM
MDN URLSearchParams - discussion (2023-05-20)
URLSearchParams feels like a utility until you try to ship shareable, stable links with filters, arrays, and normalization rules. The moment you care about caching and request identity, query canonicalization stops being optional.
externalurlquery paramsurlsearchparams
17
replies
Blog & Guide Responses
Avery Chen · May 16, 2023 · 04:00 PM
[Deep Dive #58] State Surface Mapping - discussion
Deep Dive #58 frames state management as publishing a map: which documents belong to which surfaces, how docs move between file routes and component routes, and how drift is resolved explicitly (with evidence). The named surfaces (surface:file:/..., surface:component:...) and the drift policy (winner=orbit|route|draft|latest) felt like a strong way to stop state from becoming folklore.
react-docsdeep divestatesurface map
21
replies
Blog & Guide Responses
Mina Calder · May 13, 2023 · 04:00 AM
MDN Fetch API - discussion (2023-05-13)
The MDN Fetch API docs are deceptively "basic"—most of the tricky production issues come down to request identity, abort semantics, and what you assume about responses. I'm curious how people incorporate fetch semantics into an app that wants observable posture (lane + evidence) rather than "it failed somewhere".
externalfetchnetworkingabort
15
replies
Blog & Guide Responses
Talia Moss · May 09, 2023 · 04:00 PM
[Deep Dive #57] Component Contract Layering - discussion
Deep Dive #57 argues that component contracts scale when they're layered: shell layer (routing + posture), composition layer (deep cargo + render handoffs), and surface layer (DOM evidence you can audit). The PanelKit example felt very "this is how you keep teams from rewriting the world every time a panel moves". Curious how people are applying layering in real codebases (and what they do when layering feels like extra ceremony).
react-docsdeep divecontractslayering
19
replies
Blog & Guide Responses
Theo Bennett · May 06, 2023 · 04:00 AM
Escape Hatches - discussion (2023-05-06)
Escape hatches always feel like a maturity test: do you pretend everything is declarative, or do you admit there are imperative edges and make them contract-driven and observable? I like the article when it leads to healthier boundaries instead of secret tunnels.
externalescape hatchesrefsimperative
13
replies
Blog & Guide Responses
Soren Malik · May 02, 2023 · 04:00 PM
[Deep Dive #56] App Router Hand-offs - discussion
Deep Dive #56 is about keeping navigation fast while vocabulary stays mixed: file router as the public address layer, component router as the operational layer, and a repeatable hand-off contract between segments.
blogroutinghand-offsintents
11
replies