Twitxy Saved

David Sancho

Verified account This account is verified. Learn more

@davesnx

Open Source UI stuff with OCaml at @ahrefs

Made styled-ppx and server-reason-react
Working on mlx / Melange / reason-react and co
Masnou, BCN - Ordino, AND sancho.dev Joined October 2011
2K Following 3.8K Followers 7.1K Posts

Latest posts 5

David Sancho Verified account @davesnx
There are still reasons to use JSX

and there are literally no reason to use a library that creates "nodes" at runtime (sorry @yawaramin)
David Sancho Verified account @davesnx 3d
because static analysis

the compilation of JSX can be optimized to the absurd, while you can't do it with "just function calls" or at least is more work or even impossible

this was the first iteration of improving a backend rendering library sancho.dev/blog/making-ht…, and I believe i made it 5x more now

The tricks can be also insert holes, remove runtime operations, calculate buffers, etc
View quoted post on X
2 replies 0 reposts 11 likes 1.2K views View on X