Preact (@preactjs) header
Preact (@preactjs) profile picture

⚛️ Fast 4kb alternative to React with the same modern API. 🗣 Join our slack: https://www.teapaw.org/t.co/A8MRYQ3quk

Joined June 2016
Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)Photo by Preact (@preactjs)
Pinned Tweet
Preact 11 is out. It's an incremental upgrade from Preact X, with Hydration 2.0, automatic ref forwarding, Object.is equality checks in hook arguments and diffing that uses moveBefore where supported. preactjs.com/blog/preact-11
3
19
2
104
5,384
In Preact X, a lazy component returning zero or several DOM nodes caused mismatches during resumed hydration. With Hydration 2.0, lazy components can return a Fragment or null, and there are no DOM mutations while lazy chunks are still loading.
1
1
8
2,225
preact/compat is now tree-shakeable per feature, and the package itself is ESM-only. First-party packages such as Signals, render-to-string, preact-iso, prefresh and preset-vite already support 11. Upgrade guide: preactjs.com/guide/v11/upgra…
4
316
Preact retweeted
Thank you so much @LynxJS_org team for sponsoring @preactjs - your support will go a long way in developing our ecosystem and maintaining the core!
1
1
1
12
1,711
Thank you @LynxJS_org - go check them out for your closs-platform application needs, they're great!
Thank you so much @LynxJS_org team for sponsoring @preactjs - your support will go a long way in developing our ecosystem and maintaining the core!
1
8
1,013
Preact retweeted
Preact 11 is out 🎉 We’ve been hard at work at making our diffing use modern features like moveBefore , leveraging ESM for tree-shaking Preact Compat and ensuring you have a great experience with resumed hydration.
11
39
4
211
20,859
To celebrate the release of Preact 11, we’re hosting a design competition for the Preact website! We think it’s about time for a fresh look + marketing and would love to involve the community in the process. preactjs.com/blog/website-re…
5
9
1
30
1,802
Now that @preactjs is so back, here's a blog post I wrote about its internals and how massively efficient it is
2
6
80
5,563
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.
24
15
7
415
90,666
Preact retweeted
Replying to @jexia_
I just rebuilt unpkg.com with Preact. It was bliss. I’m loading it via import maps from the browser because Preact actually ships ESM! Unlike React that doesn’t even ship a file you can use in a browser. 🙈
7
3
1
107
19,932
Seeing Preact evolve from the 300k weekly downloads in May 2020 to the 6M we have today has been quite a journey. Thank you to everyone supporting us!
3
4
30
2,545
Holy shit, Preact
2
2
12
2,600
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: www.teapaw.org/_developit/status/1567… Not that you have to support them, but they're far from dead.
who told you class components were dead?
2
3
34
5,020
Preact Signals just got a huge perf boost: Signals rendered as text/props & effects only "pull" as fast as needed for rendering. Since computeds run as-needed, they now only re-run as often as their downstream DOM output can be painted. H/t to @JoviDeC for making this happen.
5
38
1
372
35,790
New @preactjs blog post from @barelyreaper! Demystifying how island architecture works and being able to setup your own, using tools you already have around you. preactjs.com/blog/simplifyin…
1
8
34
2,693
Yeah, all of checkout is Preact.
1
1
17
4,968
🚦 Now that we shipping Preact signals integration for Lit with the @ lit-labs/preact-signals package, would anyone be interested in an Angular Signals integration? See a demo on the lit.dev playground: lit.dev/playground/#gist=330…
4
12
1
73
15,910
For the curious: Here is how you'd do <input bind:value={signal}> in Preact. Thanks to @preactjs 's options plugin API this is pretty easy to add on the fly. gist.github.com/marvinhageme…
Vue <input v-model=“name” /> Svelte <input bind:value={name} Why can’t we have that in React?
3
3
2
54
11,820