JSFiddle - React, Tailwind, and code Playground
by chovy
JavaScript
var foo = function(){
var that = this;
$.get("/test", function(data){
that.foo = data.foo;
});
};
by chovy
var foo = function(){
var that = this;
$.get("/test", function(data){
that.foo = data.foo;
});
};