Single Flight Mutations in TanStack Start: Part 2
This post introduces a middleware approach that allows efficient data refetching. The middleware enables the attachment of query keys and server functions, enhancing scalability and flexibility.
This post introduces a middleware approach that allows efficient data refetching. The middleware enables the attachment of query keys and server functions, enhancing scalability and flexibility.
I feel like “streaming” will be more and more of a concept in 2026. We can stream HTML, but rarely do. With AI APIs these days, we’re seeing streaming much more commonly. We want to see that LLM kick out an answer word-by-word, as the perceived performance is better that way. What about a JSON […]
What if we could mutate data *and* get all the data back we need to properly update the UI in just one network round-trip?
Firefox 147 just came out, and the flagship developer feature is clearly anchor positioning support, bringing that “to the baseline” as we’re supposed to say these days. That rules, but I’m also very hyped about CSS module scripts. Remember, they are a way of importing a stylesheet in JavaScript, that is, the only decent way […]
Can you keep a video playing as a view transitions happens? Yes and no. Mostly yes.
I can easily imagine a job interview question being “What’s the difference between TypeScript and Zod and in what circumstances do you need each?” They are both type validation libraries. Would you ever need both? The short answer is that TypeScript is great but can’t help you at runtime, where you might get data from […]
If your project uses web components of your own making, you could be auto-generating a Custom Elements Manifest that can be ultra-helpful, like powering a VS Code language server.
Holy cow there are a lot of JavaScript engines. These are the big ones like V8 that Chrome uses or JavaScriptCore that Safari uses, but also purposefully lightweight engines like QuickJS for “embedding”. (I’m also just realizing that domains like this, zoo.js.org, anybody can have because js.org is literally for JavaScript-based projects and you can […]
Huh. Today I learned (from Alex MacArthur): you can access the current <script> element from a script (if it’s not type=”module”) with document.currentScript. Meaning you can put configuration data as attributes on it and pluck them off and use them. Like:
Mousing over an element and watching it tilt in 3D space is a beautiful and compelling effect. Let’s bring it to mobile and use the phone itself rather than a cursor.
Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.