things I figured out, written down before I forget them
-
Debounce vs. throttle, and when I reach for each
Two functions that look identical in the docs and behave nothing alike in production.
-
Subgrid finally made my card layouts behave
I spent years faking aligned card internals with fixed heights. Subgrid deleted all of it.
-
The abstraction I regret writing the most
A generic wrapper that saved ten lines once and cost a hundred forever.
-
git bisect is the debugging tool I forget I own
A binary search through history that finds the exact commit that broke things.
-
I trust logs more than I trust the debugger
Stepping through code shows you one run. Good logs show you the pattern.