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
Destilado
_chenglou (creador de ReasonML/Rescript) presenta un algoritmo de medición de texto en TypeScript puro que permite layoutear páginas web enteras sin depender de CSS ni mediciones del DOM/reflow.
¿Por qué lo guardaste? Gonzalo construye productos con UI intensiva (Clipzi); una alternativa de layout ultra-rápida sin reflow del DOM es relevante para performance de interfaces complejas (editores, canvas, video).