
Preact
@preactjs
⚛️ Fast 3kb alternative to React with the same modern API. 🗣 Join our slack: http://chat.preactjs.com @[email protected]
Bạn có thể thích
The journey to Preact X began on a quiet evening in October 2017. Since then, more than 100 people have helped shape the future of this project and community. We're beyond excited to finally share the result of this multi-year effort with everyone. ⚛️ preactjs.com/guide/v10/what…
Now that @preactjs is so back, here's a blog post I wrote about its internals and how massively efficient it is

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.
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. 🙈
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!

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.
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.
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/simplifyi…
Yeah, all of checkout is Preact.
🚦 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/#gi…

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/marvinhagemeis…
Vue <input v-model=“name” /> Svelte <input bind:value={name} Why can’t we have that in React?
Got custom renderers working in @preactjs by implementing react-reconciler via option hooks. Here's react-three-fiber running in Preact, demo here: codesandbox.io/p/github/CodyJ…. I've released this under 0.x as the very creatively named preact-reconciler: npmjs.com/preact-reconci….
Next version of @preactjs DevTools will display which exact hook caused a component to update. Previously it would just display "Hooks changed" and not say which of them did.


Getting React Spring to work with @preactjs was effortless! Now I can build more of those little and lovely details, making UI and UX more fun.
Thank you for your donation @airbnbeng 🙏 Your contribution makes a difference! opencollective.com/preact
@preactjs 10.11.1 is out now 🎉 - 📶 Updates DOM+SVG types for signals - ♻️ Only remove nested DOM nodes when necessary - 📦 Update preact/compat export map - 📨 Fix unable to set data-* attributes to "false" - 🧽 Usual round of bug fixes... github.com/preactjs/preac…
So @jviide, who is a wizard, rewrote Signals' reactivity implementation and it's now absurdly fast, and effectively memory-stable.
Vue <input v-model=“name” /> Svelte <input bind:value={name} Why can’t we have that in React?
Today we are releasing Preact 10.11.0 and among various fixes and maintenance we have a new hook "useId"! You can now generate unique consistent identifiers! Demo: codesandbox.io/s/affectionate… Little writeup because I really loved working on this jovidecroock.com/blog/preact-us…
United States Xu hướng
- 1. Rickey 1,857 posts
- 2. Westbrook 12.9K posts
- 3. Kings 143K posts
- 4. Gold Glove 6,951 posts
- 5. Big Balls 14.6K posts
- 6. Maybe in California N/A
- 7. #wednesdaymotivation 8,983 posts
- 8. Jay Jones 67.7K posts
- 9. Justice Jackson 7,945 posts
- 10. Meyers 1,890 posts
- 11. Veo 3.1 3,760 posts
- 12. Voting Rights Act 18.6K posts
- 13. Bessent 76.3K posts
- 14. Lavine N/A
- 15. Sabonis N/A
- 16. Brodie 4,496 posts
- 17. Young Republicans 137K posts
- 18. Noah Brown N/A
- 19. Summer Walker 4,544 posts
- 20. DeRozan N/A
Bạn có thể thích
Something went wrong.
Something went wrong.