thoughts on web engineering, modern CSS, and human-friendly code
React
Understanding React Hooks: beyond the basics
•12 min read•by Alex Morgan
Hooks changed the way we think about state and side effects. In this deep dive, we explore
`useEffect` lifecycle, custom hooks for reuse, and advanced patterns with `useReducer` and
`useContext`. No more stale closures — write future-proof React.
Grid is no longer “the new layout kid” — it’s everywhere. Learn how to build magazine-style
layouts, responsive auto‑fit tricks, and how to combine Grid with Flexbox for the ultimate
toolbox. We’ll also cover subgrid and upcoming CSS features.
From array methods to optional chaining, from early returns to meaningful naming. Small
habits that make your code more readable and less error‑prone. Plus: why your team needs
a style guide (and how to create one).