Writing
Notes, snippets, and posts.
Thinking out loud about frontend work — how I approach problems, and what I learn along the way.
- snippet
A useEventListener hook that doesn't go stale
Attaching an event listener in React without re-binding on every render or capturing a stale callback.
#react#hooks#typescript - note
Starting a writing habit, in public
Why this section exists and what I plan to put here — short notes, snippets, and the occasional longer post.
#meta - post
Reach for CSS before JavaScript
A running list of interactions I used to build in JavaScript and now hand to the browser instead.
#css#performance#frontend