View Transitions & Playing Video
Can you keep a video playing as a view transitions happens? Yes and no. Mostly yes.
Can you keep a video playing as a view transitions happens? Yes and no. Mostly yes.
Matheus Lima on what makes you senior: But if you strip away the title, the salary, and the years of experience, there’s one core skill that separates senior+ engineers from everyone else: reducing ambiguity. Everything else flows from that.
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 […]
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 […]
Crop marks are an idea that comes from the print design world. Design in the bleed area will be cut away by giant cutter machines, and that bleed area is designated by the crop marks. We can do it on the web too, just for kicks.
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:
A context menu is like a tooltip in that it opens right next to the the thing that opened it. Here, we animate the opening and ensure it opens somewhere where it doesn’t get cut off.
Matt Smith: React Hooks have been around for years, but most codebases still use them the same way: a bit of useState, an overworked useEffect, and a lot of patterns that get copy-pasted without much thought. […]
Despite some not-great recent news about security vulnerabilities, React Server Components (RSCs) are likely in pretty high volume use around the internet thanks to default usage within Next.js, perhaps without users even really knowing it. I enjoyed Nadia Makarevich’s performance-focuced look at them in Bundle Size Investigation: A Step-by-Step Guide to Shrinking Your JavaScript. The […]
Bruce Lawson: I was excited to see that the proposed new Web Install API has entered Origin Trial in Chromium. It kind of works in Chromium Canary, but is most complete in Microsoft Edge beta […] The reason I was excited is because I read the Web install API explainer when it was announced a few months ago: The […]
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.