Blog

#tech

#chrome

Really impressive demo. First, this is for single-page applications. Second, there is an API for multi-page applications. Check it out in Chrome Canary and look at the code. I discussed this with my team yesterday. The demo is built on Astro. All that is shipped to the browser is 301kB. Of that 291kB is images. Less than 5.5kB for the document, CSS, and JS. CSS is powering the transitions and only a bit of JS intercepts the navigation event, loads the fragment of HTML, injects it into the DOM, and adds the necessary classes to trigger the animations.

This is a truly impressive demonstration. With very minimal effort, one can use an SSG like Astro— which can run as an SSR too— and deliver a fully working application that requires no JavaScript but progressively enhances to dynamic page transitions with easy— something that is extremely difficult even for SPA libraries— and asynchronous page loading. Only 150 lines of JS are in this project— 150 lines that ship to the browser.

For an old curmudgeonly standards guy like myself, this gives me some hope that we can get back to the days of the largest assets we send to the browser are images instead of hundreds of kilobytes of JavaScript.

Source: Bramus

Huge Update for Chrome for iOS

In an update released today, Google has added a widget and new gestures to Chrome for iOS, making it easy to open links from other apps and manage tabs on the iPhone.

MacStories

I’m a Chrome guy. Mac + iOS. I’ve found it to suit my needs a lot more. In apps that I build, I include Chrome support because of the custom back button functionality.

Well, today they have added one of my biggest wish list items: 1Password support. But that’s not all! Their new Today widget allows you to quickly open copied links in Chrome. No more tapping a link in Messages and it opening Safari. Copy the link, swipe down, and open Chrome. Beautiful.