flash on Nostr: ⚡️👀 TECH - Someone reinvented how text renders on the web and it’s ...
⚡️👀 TECH - Someone reinvented how text renders on the web and it’s absolutely insane.
The dev behind react, reasonML, and midjourney’s frontend, just dropped Pretext. a tiny typescript library that measures and lays out text 500x faster than the DOM.
He trained models against real browser rendering for weeks until the output matched safari, chrome, and firefox exactly.
The demos are insane!! hundreds of thousands of text boxes at 120fps. magazine layouts and chat bubbles that actually wrap right.
Engineers from Vercel, Remix, Figma, and shadcn all cosigned. this is the kind of open source that makes you want to be a better dev.
{
"id":"18d495fe5c991a475e5be515ba1e06ea1e3231e5f81f1b8314e9602c74a64cb5",
"pubkey":"4d7842051782e0d3feb034d150adc2b6bae4ee3b49786793bffa468b6f5b96b3",
"created_at":1774819781,
"kind":1,
"tags": [],
"content":"⚡️👀 TECH - Someone reinvented how text renders on the web and it’s absolutely insane.\n\nThe dev behind react, reasonML, and midjourney’s frontend, just dropped Pretext. a tiny typescript library that measures and lays out text 500x faster than the DOM. \n\nHe trained models against real browser rendering for weeks until the output matched safari, chrome, and firefox exactly. \n\nThe demos are insane!! hundreds of thousands of text boxes at 120fps. magazine layouts and chat bubbles that actually wrap right. \n\nEngineers from Vercel, Remix, Figma, and shadcn all cosigned. this is the kind of open source that makes you want to be a better dev. \n\nHere are some cool demos in the past 24hrs👇 \nhttps://blossom.primal.net/1eb13881a9144929787b768685c8ac15e4e8c2fd2965f2198a86fe98e5b5d795.mp4\nhttps://blossom.primal.net/b6fc67e0d68f210a6532dbe24194a2e3ee63dc72ea82e2261e7e0c2745582a0e.mp4",
"sig":"6ccae93638d775453f88c0b9ae02c02b7c3e60d6f434c1746633021f4a2e898bab54d89aceed4e57ac6832321410aa5c98ffd0f85a37062a6104e7a9615ca2ba"
}