LinksJavaScript
Utility functions to more easily work with View Transitions. (chrome.dev)
Bramus released a new npm package full of view transition utilities. The GitHub docs are also worth a read if you want to learn more about view transition inner workings.
Native JSON modules explained (allthingssmitty.com)
Matt Smith explains how import attributes (with { type: "json" }) let you import JSON files natively without using a bundler. Modern browsers have supported this for a year now, so let's all import instead of fetch JSON, right?
Stop checking for View Transition support (www.bram.us)
Even though view transitions have been cross-browser supported for a while, you still have to check every time if they're available with if (document.. What if you didn't have to do that? Bramus released a non-visual polyfill.
Vendor-specific "Web APIs" (polypane.app)
I must admit I've never questioned what happens when I use navigator.. As it turns out, browsers use third-party services to figure out the user location. Very obvious, in hindsight.
But geolocation isn't the only "Web API" calling online services. Kilian lists more than a handful and summarizes the current state:
The promise of web standards is that you write code once and it works everywhere. But the above APIs are really thin wrappers around vendor-specific services.
The interface is standardized, but the implementation, its dependencies, limitations, and privacy implications are not.
Using web dependencies is broken (lea.verou.me)
I already knew that using JavaScript dependencies from the npm ecosystem without using a bundler is painful. How do you get node_modules into the public? How do you deal with module dependencies? And how do you import files then?
Normal things like loading dependency code are surprisingly complicated in the "vanilla web".
Lea analyzed all the technical options to build for the web without a bundler, and the current state sucks.
Not using bundlers in any nontrivial application does seem like an exercise in masochism.
It's a good overview (and rant) on the current state of the web.