NOTES
Notes & Nodes
Fragrance and Code, Simply Put
-
Colocating State: Keep State Close to Where It's Used
2 min read
Reduce complexity by moving state into the component that actually needs it.
Continue Reading -
Custom Hooks: Extract and Reuse Stateful Logic in React
3 min read
Stop duplicating logic across components. Learn how to design focused, reusable custom hooks with real-world examples.
Continue Reading -
State Machine Pattern: Replace Boolean Soup with a Single Status
2 min read
Model UI states explicitly to prevent impossible combinations and clarify transitions.
Continue Reading