Remix.run Logo
Pretext's most interesting use cases have no DOM at all(cyrusradfar.com)
12 points by cyrusradfar 10 hours ago | 3 comments
lewisjoe 6 hours ago | parent | next [-]

This is not an accurate take. Especially the SSR one. Pretext doesn't liberate text layout from the browser entirely (at least not yet). It still uses canvas.measureText that does critical heavy lifting like font fallbacks, default styles, etc.

Once you take pretext out of browser environment, you'll have to worry about lot more things around fonts.

cyrusradfar 5 hours ago | parent [-]

OP here, you're right. I discuss that as a next step at the end. The process to get to this point is the insight to how to accomplish this cross platforms.

pjmlp 4 hours ago | parent | prev [-]

Basically, yet another group of folks rediscovered native text layout engines.

Back and forth the pendulum goes.