3 ms·
To be fair, while jsx (assuming you mean that one) indeed look like xml, the variables that get interpolated in it come from js code. Same with the events that
by mejutoco 2y ago
To be fair, while jsx (assuming you mean that one) indeed look like xml, the variables that get interpolated in it come from js code. Same with the events that are triggered and their callback functions.
One could argue defining what gets updated on which event via attributes (htmx) is more declarative. On the other hand, it is not fully declarative because the server is rendering the html code with the attributes. But OP argued for more declarative, which I think it is fair.