Preact
@preactjs
⚛️ Fast 3kb alternative to React with the same modern API. 🗣 Join our slack: http://chat.preactjs.com @[email protected]
你可能會喜歡
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…
🚦 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…
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.
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 趨勢
- 1. RIP Beef 1,096 posts
- 2. SNAP 658K posts
- 3. #HardRockBet 4,415 posts
- 4. Jamaica 95.5K posts
- 5. Friendly 56.5K posts
- 6. McCreary 2,520 posts
- 7. MRIs 2,926 posts
- 8. #IDontWantToOverreactBUT 6,446 posts
- 9. Hurricane Melissa 57.2K posts
- 10. 53 Republicans 1,865 posts
- 11. #MondayMotivation 44.2K posts
- 12. $ZOOZ 5,444 posts
- 13. #ChelleyxTrueReligion 3,632 posts
- 14. $NXXT 3,429 posts
- 15. John Dickerson 1,358 posts
- 16. Jack DeJohnette 3,169 posts
- 17. Rand 32.8K posts
- 18. Sports Equinox 7,846 posts
- 19. #NationalBlackCatDay 3,448 posts
- 20. Chapman 3,799 posts
Something went wrong.
Something went wrong.