React Concepts: Hook Proximity
Keeping your component's side effects (like data fetching, subscriptions, or logging) close to where they are triggered, avoiding the pitfalls of prop drilling.
Tags: reactconcepts, react, javascript, hooks