JSX is the best syntax to build the UI
we just need it compile to other platforms
commit b40ee8d
You are thinking about mobile or desktop gui ? May be interested in https://github.com/wsafight/gpui-rsx
GitHubGitHub - wsafight/gpui-rsx: A Rust procedural macro that provides JSX-like syntax for GPUI, making UI development more concise and intuitive.A Rust procedural macro that provides JSX-like syntax for GPUI, making UI development more concise and intuitive. - wsafight/gpui-rsx
Honestly, I've always had the opposite idea.
Even within its own ecosystem, JSX often ends up mixing complex business logic with the view, creating giant files that are difficult to maintain.
That's why I find it hard to imagine it fitting well in a language like PHP. What…