NOTES
Notes & Nodes
Fragrance and Code, Simply Put
-
useImperativeHandle : Expose Methods from Child to Parent
2 min read
When refs aren’t enough, selectively expose imperative methods from a child component.
Continue Reading -
Context Selector : Subscribe to Just What You Need
2 min read
Use use-context-selector to avoid re-renders by selecting slices of context.
Continue Reading -
Custom Hook Composition: Build Bigger Features from Small Hooks
2 min read
Combine focused hooks to keep complex logic clean, testable, and reusable.
Continue Reading -
First Render Detection: Skip useEffect for One‑Time Render Logic
1 min read
Use a ref to run logic only on the first render without effects.
Continue Reading -
Effect Separation: One Effect per Concern
2 min read
Split effects so each handles a single job with its own dependencies.
Continue Reading