Worked on: @reactjs, @messenger, @reasonml, @rescriptlang & @midjourney
Mar 28 • 11 tweets • 5 min read
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
Text layout & measurement was the last & biggest bottleneck for unlocking much more interesting UIs, especially in the age of AI
With this solved, no longer do we have to choose between the flashiness of a GL landing page, vs the practicality of a blog article. Demos: