Pretext fixed the web
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Pretext, a TypeScript library by former React Core team member Cheng Lou, solves a 30-year-old browser performance problem around text measurement. Instead of triggering expensive DOM layout reflows, it uses the Canvas API to measure text segments and pure arithmetic to compute line breaks and heights. The result is a ~500x speedup: 1,000 items go from ~94ms with dropped frames to ~0.05ms. The newsletter also covers Cloudflare's EmDash (serverless WordPress successor built on Astro), TanStack Router's new signal graph, Inertia.js 3.0, Vue Lynx pre-alpha, and several other web dev releases and tools.
Sort: