JSFiddle - React, Tailwind, and code Playground
by Lloyd Atkinson
HTML
<div id="test"></div>
Babel + JSX
const user = [
{ shape: 'square', colour: 'red' },
{ shape: 'circle', colour: 'blue' },
{ shape: 'triangle', colour: 'blue' },
{ shape: 'triangle', colour: 'yellow' },
{ shape: 'square', colour: 'orange' },
{ shape: 'rectangle', colour: 'green' },
{ shape: 'circle', colour: 'green' },
{ shape: 'rectangle', colour: 'yellow' },
];
const h = (nodeType, attributes, nodeChildren) => {
}