Jason Miller 🦊⚛
@_developit
Platform DX @Shopify. Created @preactjs. Do more with less. http://github.com/developit @[email protected]
Introducing Preact Signals: a reactive state primitive that is fast by default. ✅ feels like using plain values 🥳 automatic updates when values change ⏱ updates DOM directly (fast!) 🥹 no dependencies arrays preactjs.com/blog/introduci…

[opinion] Shopify is silently saving the open internet. Preact (well technically Jason independently built it but he's DX at Shopify now), Remix, Ladybird browser, contributions to the web in general - how did we not see this coming?
kind of annoyed that Lucide icons enables/encourages use of svg-as-components through all its readily-available packages, since that's the worst way of embedding svgs :/ (x-post from 🦋 so I can ping @EricFennis) x.com/_developit/sta…
Please don't import SVGs as JSX. It's the most expensive form of sprite sheet: costs a minimum of 3x more than other techniques, and hurts both runtime (rendering) performance and memory usage. This bundle from a popular site is almost 50% SVG icons (250kb), and most are unused.
gotta love that the code sample introducing GitHub Spark is a typical unruly horror of hooks mess. Using AI to generate this shit doesn't make it less shit. Use something better.

I released the Preact-MCP, it's already a great tool. It can help you work with preact/signals/preact-iso/.... everything in our ecosystem.
Think I've settled on JSX with Preact as the templating language for this Tailwind CSS course I'm working on. Lets me use standard HTML attributes (class vs. className, dash-cased SVG attributes) so non-React users will almost not even notice it's React 👍🏻
Did you miss Jovi De Croock teaching us about Preact live on LWJ? No worries! Watch highlights from the episode here, then check out the full episode replay codetv.dev/series/learn-w…
the exact moment when @codetv_dev realizes the performance magic of preact + signals youtube.com/live/6pBMaaX4j… full session with @JoviDeC is worth a watch btw
What source code do you think is beautiful. Like, you go to their github repo and look at it and think "dang ... maybe one day I can write code like this" For me it's - MooTools - Rails - Preact
Since the launch of signals, I think you'll find a lot more Preact users are authoring class components again (I certainly am). Ergonomics are pretty darn good: x.com/_developit/sta… Not that you have to support them, but they're far from dead.
who told you class components were dead?
I am working in something *very* wild for Preact, which I believe will be a complete game changer. Actually I'm on vacation BUT when I get back I will continue working on this *very* wild thing. 6 year old idea but the last 2 years of Preact features make it infinitely better.
Polaris is now a unified UI Library 📚 Lighter. Faster. Compatible with any framework and all Shopify surfaces.
We released the initial version of our UI toolkit. It's web components that work everywhere. Internally they are built using Preact.
Headline: "Polaris—unified and for the web" The work: - Align components across multiple teams w focus on web - Extremely light "in-house" framework - Automatic updates for Apps - Maintain or exceed UX quality - Docs, templates, CLI - AI, MCP - "Polaris" So much more to come
Headline: "Polaris—unified and for the web" The work: - Align components across multiple teams w focus on web - Extremely light "in-house" framework - Automatic updates for Apps - Maintain or exceed UX quality - Docs, templates, CLI - AI, MCP - "Polaris" So much more to come
I relaunched @unpkg a few weeks ago, completely rewritten from scratch! The backend is: - @cloudflare Workers - @flydotio and @bunjavascript for serving files - esbuild The frontend: - @preactjs for components + hydration - @tailwindcss Source: github.com/unpkg/unpkg