Activity for mb21.bsky.social
Loading activity...
How can a complete web framework be ~700 lines of TypeScript? For one, everything is a route in Mastro. mastrojs.github.io/blog/2026-01...
Everything is a route – one interface for servers, static sites, and assets | Mastro Blog
Use the standards-based Request/Response-API not only for writing your server, but also for static site and asset generation.
Thanks for having me @stoyan.me !
Web Performance Calendar'25 day 1 with @mb21.bsky.social on HTTP streaming in the world of HTTP2/3 and Node. Mauro shows us how to start rendering earlier, turning a slow (full) page load into a progressive experience using db.stream() in JavaScript calendar.perfplanet.com/2025/improve...
Nice article about when it might, or might not make sense to inline critical CSS. csswizardry.com/2022/09/crit...
In order for mastrojs.github.io to have an Atom feed, of course I had to add a new module to non-core: jsr.io/@mastrojs/ma...
I’m thinking of selling an EPUB version of The Mastro Guide (which will remain free to read online): mastrojs.github.io/guide/ Anybody has any experience with publishing an ebook or can recommend a publisher or self-publication platform that handles payments etc? Please share for further reach 🤗
I’m really happy with HTTP-first assets in Mastro: create a GET route that responds with the transformed image or bundled CSS/JS. For static site generation, you’re done. For server, add an `export const pregenerate = true` and add the build step to your CI/CD. mastrojs.github.io/guide/bundli...
“Preload only the fonts that are actively used above the fold.” www.erwinhofman.com/blog/should-...
While Mastro is proudly #nobundler by default, I’ve started writing a chapter about what you’d do if you’re unfortunate enough that your client-side JS has grown beyond a few dozen of files: mastrojs.github.io/guide/bundli...
True, but the use-cases where an SPA make sense really seem to shrink every year. Has there been an HTML attribute or similar proposed that would keep an element’s scroll bar position or an input’s text and cursor position across page transitions, if it has the same id? Similar to view transitions?
I rarely link to the orange site, but this is a really good comment: news.ycombinator.com/item?id=4387... Feels like that's the same kind of reasoning like "Nobody was ever fired for choosing React".
I wonder whether anybody will do a talk similar to this one in a decade, but instead about React and/or bundlers: www.youtube.com/watch?v=wo84...
Does any somewhat standardized url query parameter format exist for image resizings and transforms? I could have sworn I saw a spec on GitHub a while ago, but absolutely cannot find it anymore! Did I hallucinate it? Something like imgproxy or Cloudflare images but they all use different formats.
Saying Astro is “HTML first, framework second” seems to me a bit weird. It is a JS framework after all, just server-first. Wondering what the right framing/messanging here is for Mastro. mas.to/@frontenddog...
Need to work on that SEO for mastrojs.github.io
Eat your own dog food, they say. That’s why I’m redoing the docs and guide website using Mastro itself: mastrojs.github.io