
Platform DX @Shopify. Created @preactjs. Do more with less. https://www.nitter.cf/t.co/z1d6J24DlE @developit@mastodon.social
Hamilton, Ontario, Canada
Joined September 2008
- Tweets43.7K
- Following2.3K
- Followers64K
- Likes64.3K
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/introducinβ¦
ReactLynx, @LynxJS_org's official React framework, is built on Preact.
Xuan Huang explains how Preact's smaller, more forkable core let Lynx build a dual-threaded architecture and ship it at TikTok's scale. Lynx is also a Platinum sponsor.
youtu.be/L_u08K7xc18?t=797
Jason Miller π¦β retweeted
Git at Scale (by cursor) has been one of the most interesting blog posts i've read in a while. It came right when I was frustrated with Shopify's internal git system.
As an exercise, I've implemented it over the weekend as open source. It's a single rust binary that you can point at any S3 type object store. It uses WAL and CAS primitives and requires no other data store.
It also implements bundle-uri so large git repos (like our mono) are very fast to download as a chain of static bundles. Also comes with basic familiar UX.
github.com/tobi/walgit
LOL I'm going to rip out every barrel module from 14 million lines of TypeScript π.
This is going to be a wild time.
late reply but: no, not really. the DX win from the performance improvement massively outweighed any familiarity loss.
One thing we did to help was convert a bunch of "pseudo-package dirs" to real pnpm workspace packages with `"sideEffects"` configured.
1
1
210
Replying to @_developit @TheLarkInn
This got us to the end goal fast, but the main value was that it uncovered all of the incredibly nuanced bugs we had when barrel files were removed - module trees shifting between bundles, their exec timing changing, etc.
1
1
511
Soon you will be able to roll Preact in vite without Babel github.com/preactjs/prefreshβ¦
What if a signal on the server could just be a signal on the client?
Wrote about @_developit's mixed-signals - it reflects server-side Preact Signals to clients over any transport. Write your state once as a model, decide where it runs.
No fetch glue. No cache invalidation. Just signals.
jovidecroock.com/blog/mixed-β¦
Has anyone else noticed mobile frontends (native and web) are getting increasingly terrible (as we descend into UX vibe coding?)?
I keep noticing I've developed ridiculous coping strategies like constantly copying input to clipboard in case it gets lost when sending.
Replying to @_developit
New hobby: pressing End to jump directly to the end of landing pages which look like one of the 5 designs every LLM will spit out, and watching the obligatory scroll fade fall apart as I scroll up
1
1
232
Replying to @wesbos @_developit
the home depot app is so fucking slow it's unusable.
I literally wanted to buy something from them.
My ADHD wouldn't let me wait.
Now my cat 5 cable comes from amazon.
This is on them.
2
1
154
Replying to @_developit
I've resorted to similar techniques for very popular web frontends too, directly from the makers of LLMs
1
2
153
















