
Why console.log After setState Shows the Old Value
Introduction If you call setState (or setCount) and immediately console.log, you’ll often...
Tag archive

Introduction If you call setState (or setCount) and immediately console.log, you’ll often...
You told Claude Code to run Prettier after every file edit. It did - twice. Then it forgot. You...
Copy-paste Claude Code hook examples: auto-format after edits, block dangerous commands, and the Stop hook that forces a final check without an infinite loop. Real settings.json config.

Introduction Almost everyone uses useEffect in React for fetching data, timers, or adding...
Here's a thing that took me embarrassingly long to accept about coding agents: you cannot instruct...

Hooks are the default way to reuse state and interaction logic, but they do not eliminate a different need: applying ref handling, prop transformations, layout, and presentation rules around an existing rendering target. Starting with an autofocus React HOC and continuing with Cabloy/Zova Behavior examples, this article explains why cross-cutting rendering rules still need to be independently attachable, replaceable, and composable.
Hello Dev Community! 👋 It is officially Day 120 of my software engineering marathon! Today, I...
Hello Dev Community! 👋 It is Day 118 of my software engineering sprint, and today I unlocked the...

Git hooks run scripts around local Git events (pre-commit, commit-msg, pre-push, and others). They...
A practical guide to Claude Code hooks: the event lifecycle, exit codes vs. structured JSON, permission decisions, and copy-paste examples that solve real problems.

Unpack React's internal architecture focusing on how Context and Hooks interact with render phases, the implications for state consistency, and debugging tricky lifecycle bugs.
My global Claude Code config in four layers, reinstallable in one command, and one rule running through all of it: the only rigor that counts is the one a model can't grant itself.