An enormous thank-you to @trivago_tech ❤️ for contributing to Preact's continued development, and for their commitment to Open Source sustainability.
tech.trivago.com/2021/01/25/…
One of my most important objectives for my last few months at trivago was to make sure that our Open Source initiative was in good hands. I am happy to say that it is in excellent hands now with a fantastic group of people driving and shaping it.
tech.trivago.com/2021/01/25/…
Two weeks ago we released WMR, a self-contained 2mb frontend stack in a box:
📦 npm init wmr your-app
This week's @toolsday gets into why WMR exists, how it works and what makes it unique:
spec.fm/podcasts/toolsday/Kt…
Preact's NPM downloads/week being up 2.5x what they were just a year ago is a pretty darn cool thing to see.
Glad to see the world's enjoyed this tiny little package just as much as I have in this past year.
Added gatsby-plugin-preact to GatsbyConf.com (which is already lightweight) and dropped the Network resources from 497 kb to 391 kb (~20% reduction) 🚀
(That's with a hard refresh 😉)
ALT React version of site showing 497 kb or downloaded resources
ALT Preact version of the site showing 391 kb of downloaded resources
Did you hear about @preactjs releasing WMR—their brand new all-in-one development tool?!
You may not have realized that they unceremoniously released `preact-iso` at the exact same time, but I'm really excited! `preact-iso` is an async-aware renderer for the client AND server.
just to put this into perspective. this is our typical thread example for urql but:
- upgraded urql & Graphcache
- still uses its schema awareness & full Offline support
- WMR + Preact + Preact Router + Goober
all that & it's smaller than react-dom 🤯
new releases for urql! 🦅
@urql/exchange-graphcache now pulls in a lot less from graphql (net. reduction -9.42kB gzip!! 😱)
& the gql`` tag function is now built into @urql/core 💯💖
github.com/FormidableLabs/ur…
ALT Before: About >9kB gzip pulled in from graphql library for Graphcache.
ALT After: Additional graphql code is replaced & gone. Only a small piece from graphql is pulled in (valueFromASTUntyped)
ALT A screenshot of the "Basics" urql docs page, showing the built-in "gql" tag function.