JSX For Vanilla JS
When you are building a lot of Vanilla JS writing document.createElement
becomes a hassle. Turns out that if you are using babel to transpile your vanilla code you can use the JSX extension to use JSX to build DOM elements for you.
Let's have a look.