2 ms·
Also, JSX is pretty much literally this. But yes, HTML was clearly designed for producing output markup; but in reality the people who want to generate markup
by bobthepanda 3y ago
Also, JSX is pretty much literally this.
But yes, HTML was clearly designed for producing output markup; but in reality the people who want to generate markup want to handle nested data, if/else, and loops, because that is better than copy pasting a bunch of markup everywhere and occasionally fat-fingering something.