I still can’t understand why people think xml syntax is a good thing for code
Totally understand that JSX and React-like frameworks aren't for everyone.
I have worked on several DAG frameworks (such as Pulumi), and JSX turns out to be a happy medium between declarative and easy to read, and dynamic allowing you to drop into plain JS, use for loops, if/else, etc. GenSX components are just plain functions and can be called as such when it makes sense!
React's component model is well understood by developers, and easy to build tooling on top of. Components are reusable by default since they're functional, which opens the door to an OSS community to share useful building blocks.
Full discloser, I'm Evan (the founder) and welcome any feedback you have as we're building. Sorry for the late response, I didn't notice this got posted.
XML is one of the few markup languages that can actually represent objects without losing integrity. The issue is that its syntax is often abused to try to make it "elegant".
My perspective is that the goal of JSX isn't to make XML "elegant" but to offer a way to dynamically build more complex trees and even DAGs programmatically. Best of both worlds between declarative and easy to read, and expressive via dropping into plain JS.
(I'm Evan - the founder of GenSX, and always open to feedback if you have any!)
I still can’t understand why people think xml syntax is a good thing for code
Totally understand that JSX and React-like frameworks aren't for everyone.
I have worked on several DAG frameworks (such as Pulumi), and JSX turns out to be a happy medium between declarative and easy to read, and dynamic allowing you to drop into plain JS, use for loops, if/else, etc. GenSX components are just plain functions and can be called as such when it makes sense!
React's component model is well understood by developers, and easy to build tooling on top of. Components are reusable by default since they're functional, which opens the door to an OSS community to share useful building blocks.
Full discloser, I'm Evan (the founder) and welcome any feedback you have as we're building. Sorry for the late response, I didn't notice this got posted.
XML is one of the few markup languages that can actually represent objects without losing integrity. The issue is that its syntax is often abused to try to make it "elegant".
My perspective is that the goal of JSX isn't to make XML "elegant" but to offer a way to dynamically build more complex trees and even DAGs programmatically. Best of both worlds between declarative and easy to read, and expressive via dropping into plain JS.
(I'm Evan - the founder of GenSX, and always open to feedback if you have any!)