JSX For Vanilla JS
Learn how to use JSX with Babel to create DOM elements in vanilla JS the easy way.
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.