Master.dev (Formerly Frontend Masters)

Master.dev (Formerly Frontend Masters)

@frontendmasters.com

Master AI & Full Stack Development. Frontend, backend, and everything between. → https://master.dev/?utm_source=bluesky&utm_medium=social_profile&utm_campaign=x_profile

1.6K followers17 following279 posts

Building an Isolated Preview for AI-Generated HTML An iframe with srcdoc feels like a safe place to render HTML a model wrote. It isn't. Three tests show how the preview can read your page, escape the frame, and phone home, and four layers of protection close each hole.

blog.master.devBuilding an Isolated Preview for AI-Generated HTMLAn iframe with srcdoc feels like a safe place to render HTML a model wrote. It isn't. Three tests show how the preview can read your page, escape the frame, and phone home, and four layers of…

Structured Output with TanStack AI Part 2 of this intro to TanStack AI covers structured output: constraining the model's response to a Zod schema, then streaming that JSON in and rendering it while it's still incomplete.

blog.master.devStructured Output with TanStack AIPart 2 of this intro to TanStack AI covers structured output: constraining the model's response to a Zod schema, then streaming that JSON in and rendering it while it's still incomplete.

Unlocking AI in Your Apps with TanStack AI TanStack AI is a strongly typed set of libraries for adding AI features to your apps. Part 1 of this intro covers basic setup and prompting, streaming responses, persisting threads to your database, and resuming a response after a mid-stream refresh.

blog.master.devUnlocking AI in Your Apps with TanStack AITanStack AI is a strongly typed set of libraries for adding AI features to your apps. Part 1 of this intro covers basic setup and prompting, streaming responses, persisting threads to your database,…

Building a Fancy Scrollspy Using Modern CSS Scrollspy navigation used to mean IntersectionObserver and a pile of JavaScript. With scroll-target-group, :target-current, and a little anchor positioning, a plain list of anchor links can highlight the current section all on its own.

blog.master.devBuilding a Fancy Scrollspy Using Modern CSSScrollspy navigation used to mean IntersectionObserver and a pile of JavaScript. With scroll-target-group, :target-current, and a little anchor positioning, a plain list of anchor links can highlight…

Testing an iframe’s postMessage Handler There are some real complexities using iframes and the postMessage API for communication between a widget and its parent. Security vulnerabilities like cross-origin scripting risks being one.

blog.master.devTesting an iframe’s postMessage HandlerThere are some real complexities using iframes and the postMessage API for communication between a widget and its parent. Security vulnerabilities like cross-origin scripting risks being one.

Fallbacks for CSS `progress()` The new CSS progress() function calculates a value between 0 and 1, representing its position within a defined range. While awaiting broader browser support, users can manually implement this using other methods.

blog.master.devFallbacks for CSS `progress()`The new CSS progress() function calculates a value between 0 and 1, representing its position within a defined range. While awaiting broader browser support, users can manually implement this using…

You Don’t Know Bidi (And Neither Does ChatGPT) Text that is set in a left-to-right *and* right-to-left language, mid-sentence, is a thing. Getting it right means understanding it, because your LLM isn't going to know.

blog.master.devYou Don’t Know Bidi (And Neither Does ChatGPT)Text that is set in a left-to-right *and* right-to-left language, mid-sentence, is a thing. Getting it right means understanding it, because your LLM isn't going to know.

Extracting Grid Information Using CSS It's an interesting and potentially useful trick to have an element know where it is on a grid. That's tricky enough when the items are in one row/column, but what about when they span?

blog.master.devExtracting Grid Information Using CSSIt's an interesting and potentially useful trick to have an element know where it is on a grid. That's tricky enough when the items are in one row/column, but what about when they span?

Building a Reliable PostgreSQL Queue: Concurrency, Crashes, Retries, and Scale We get into building a background task processor using PostgreSQL. It seems easy at first, but there are lots of pitfalls as a system like this scales.

blog.master.devBuilding a Reliable PostgreSQL Queue: Concurrency, Crashes, Retries, and ScaleWe get into building a background task processor using PostgreSQL. It seems easy at first, but there are lots of pitfalls as a system like this scales.

React Now Rusted All The Way Out The transition to the Rust version of the React Compiler for the 1,036-file React Router codebase resulted in a significant speed increase, improving build times from 14.3 seconds to 0.81 seconds. The new compiler addresses previous limitations and e

blog.master.devReact Now Rusted All The Way OutThe transition to the Rust version of the React Compiler for the 1,036-file React Router codebase resulted in a significant speed increase, improving build times from 14.3 seconds to 0.81 seconds.…

Master.dev (Formerly Frontend Masters) reposted

Wrote about what's up in angle brackets land.

New Things You Should Know About HTML Here in Mid 2026 The foundational language of the web is getting plenty of love lately! While HTML moves a bit more slowly than its buddies, CSS and JavaScript, that tends to be a good thing. I'm not gonna do, like, in here. That's too basic for you. Tha

New Things You Should Know About HTML Here in Mid 2026 The foundational language of the web is getting plenty of love lately! While HTML moves a bit more slowly than its buddies, CSS and JavaScript, that tends to be a good thing. I'm not gonna do, like, in here. That's too basic for you. Tha

blog.master.devNew Things You Should Know About HTML Here in Mid 2026The foundational language of the web is getting plenty of love lately! While HTML moves a bit more slowly than its buddies, CSS and JavaScript, that tends to be a good thing. I’m not gonna do, like,…

Background Image Refraction in CSS "Liquid glass" design is helped along by offsetting/scaling the background as if you're looking through real glass. But that gets tricky with arbitrary CSS background positioning.

blog.master.devBackground Image Refraction in CSSThe soul of a “liquid glass” design is a good illusion of light refraction. That is, to see parts of the screen through a metaphorical lens. This article shows you how to get that for the backgrounds…

Master.dev (Formerly Frontend Masters) reposted

"We have backups" doesn't mean what most teams think it means. Jem Young breaks down the exact mistake that turns a ransomware attack or cloud outage into a total data wipeout, and why most companies don't catch it until it's too late. From our Backend System Design course.