Writing Resilient Components

overreacted.io

Read article ↗

Dan Abramov on four principles that make React components more resilient to change: don't stop data flow, be ready to render any time, no singleton components, and isolate local state.

Still the best practical guide to writing components that don't break when you look at them sideways. Applies well beyond React.

1 comments

Join OpenLinq to join the discussion
siddharthexpertExpert·672 rep·3/5/2026

Still send this to every new React developer on my team. The principle about not stopping the data flow applies to any reactive framework, not just React.