Preact Signals just got a huge performance 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 @jovidecroock.com for making this happen.
10.01.2025 18:50
👍 234
🔁 34
💬 9
📌 3
What if you could use Radix in Preact without compat?
And what if Radix itself became 60% smaller? And faster.
What if you could have all of Radix and Preact and a router... for less than half the original size of Radix? or of React?
31.12.2024 16:22
👍 95
🔁 9
💬 8
📌 0
it me
01.01.2025 19:47
👍 6
🔁 1
💬 0
📌 0
Fun fact: Preact is used in Bluesky's embed widget. As expected, it's a very tiny portion of the total code ;)
21.11.2024 22:31
👍 69
🔁 13
💬 1
📌 0
or petit
07.11.2024 15:39
👍 5
🔁 1
💬 1
📌 0
A screenshot of the Container.tsx code linked in this post.
TIL: @bsky.app's embed is built with #Preact!
github.com/bluesky-soci...
06.11.2024 14:33
👍 100
🔁 12
💬 4
📌 2
const whom = signal('world')
render(
<h1>Hello {whom}</h1>
)
06.11.2024 14:30
👍 210
🔁 5
💬 7
📌 0