2 ms·
I think the power of JSX is in being able to mix content with code and logic. You can have loops, maps, embedded ternaries, function calls, etc. It's not all ju
by solardev 2y ago
I think the power of JSX is in being able to mix content with code and logic. You can have loops, maps, embedded ternaries, function calls, etc. It's not all just static markup.
If you just want a data markup language... why not regular XML? Then you can easily parse it to JSON, e.g. https://codebeautify.org/xmltojson/y24f6a4c0 https://codebeautify.org/xmltojson/y24f6a4c0