JSFiddle - React, Tailwind, and code Playground

by serio

JavaScript

// mangle data/add things into templates
var a = { 'a' : 'wat', 'b' : 'who' };

// domready
$(omgGo); // have this actually fire in templates incase we need to mangle things before hand (like with validate)

// some kickoff function that happens elsewhere (in core)
function omgGo() {
    console.log(a);
}