Lol, stop putting control flow in your templates.
Chris Reed
61

Engineers have figured out a long time ago that templates is not a solution, that’s why JSX is not a templating language, rather it is a DSL.

DSLs are being created to make target language, HTML in this case, to be the same thing as a language where it is used. JSX does the opposite, it goes closer to templating, which is more familiar to JavaScript devs, that’s what makes it completely unusable.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.