NOTES
Notes & Nodes
Fragrance and Code, Simply Put
-
Render Props Pattern: Pass a Renderer via a Named Prop
1 min read
Similar to function children, but explicit—pass a render function to customize output.
Continue Reading -
Presentational vs Container Components: Separate How It Looks from How It Works
3 min read
Extract behavior into hooks, render with pure components, and keep your features composable.
Continue Reading -
Single Responsibility Principle: One Component, One Reason to Change
3 min read
Split bloated components into focused pieces and extract logic with a custom hook.
Continue Reading -
Smart vs Dumb Components: A Practical Hierarchy for Features and UI
2 min read
Keep feature logic in smart components and render with simple, reusable UI components.
Continue Reading -
Lifting State Up: Share Data Between Siblings Without Chaos
2 min read
Learn how to move state to a common parent so sibling components can stay simple and in sync.
Continue Reading