React Boundaries

Enforces React component ownership boundaries—colocate state, queries, and mutations with consuming leaves; avoid prop drilling and parent data hubs; structure trees for render isolation and composability. Includes TanStack Query, Router, Start, Form, and Store patterns. Use when designing or reviewing component architecture, refactoring prop-heavy trees, fixing unnecessary re-renders from lifted state, deciding where API or query logic should live, or when the user says react-boundaries, ownership boundaries, push state down, or stop prop drilling.

dobroslavradosavljevic Updated 3 repo stars

File contents

dobroslavradosavljevic/anhur commit e8d5b470f1

Frequently asked questions

npx get-skill add dobroslavradosavljevic/react-boundaries