Cheng Lou on X: "My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at https://t.co/BKnwCDIp75" / X
To view keyboard shortcuts, press question mark View keyboard shortcuts Added to your Bookmarks Add to Folder Home Explore Notifications Chat Grok Premium Bookmarks Creator Studio Articles Profile More Post Dante ⁂ @dantemagg Post See new posts Conversation Cheng Lou @_chenglou My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow 0:07 10:09 PM · Mar 27, 2026 · 2.5M 2.4M Views 434 2K 14K 16K Relevant View quotes Post your reply Reply Cheng Lou @_chenglou · 18h Text layout & measurement was the last & biggest bottleneck for unlocking much more interesting UIs, especially
@_chenglou: My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow @_chenglou: Text layout & measurement was the last & biggest bottleneck for unlocking much more interesting UIs,
saved by
related reading
- GitHub - chenglou/pretext: Fast, accurate & comprehensive text measurement & layoutgithub.com
- Design Engineeringfloguo.com
- DesEngs: Resources for Design Engineersdesengs.com
- Learning From Terminals to Design the Future of User Interfaces — brandur.orgbrandur.org
- UI Skills for Design Engineers | UI Skillsui-skills.com
- The Elements of UI Engineering — overreactedoverreacted.io
- Pretext - Text measurement that never touches the DOM.pretextjs.dev
- Idea Listjzhao.xyz
- rahul on X: "introducing 🪄genweb: the first software 2.0 web framework 🪄 genweb is a new way of building web apps: instead of a frontend and backend codebase, an LLM is the backend and the frontend it interprets user actions and dynamicalx.com
- Text Rendering Hates You - Faultlorefaultlore.com
- Ryo Lu on X: "stay true to the medium the “liquid glass” approach to design is peak “design system” gone wrong — when you optimize for visual consistency over interaction fidelity, you lose the soul in each medium. each input method has itsx.com
- What will you ship?rauno.me