Use when structuring React components — composition over configuration, state ownership and colocation, hook design, render/effect boundaries, and prop API design.
Use when structuring React components — composition over configuration, state ownership and colocation, hook design, render/effect boundaries, and prop API design.