Writing
Notes from building things. Most of them start with a real problem, at work or in one of my libraries, that I couldn't stop thinking about until I wrote it down.
Some are walkthroughs, some are the story behind a fix, and some are me changing my mind in public. If one of them saves you an afternoon, that's the whole point.
- Where Should Your TanStack Queries Live?How we structure TanStack Query in a large Vue codebase, with one way to write every endpoint, query key and queryOptions, each in a fixed place.
- Every Part of a Form Is a FormHow forms that kept outgrowing a single submit led me to write FormTree, the form library we now run in production.
- A Wagon for Your StateHow usewagen came to be, one package for reactive, type-safe state in the URL and in browser storage.
- How Five Minutes at MadVue Reshaped qpick's APIHow a five-minute conversation at MadVue led to removing eq from qpick's parser system and embracing idempotency.
- The URL was always the state, we just kept ignoring itA new composable for syncing URL parameters with reactive state in Vue.