JSFiddle - React, Tailwind, and code Playground

by uiwwnw

JavaScript

var Loading = (function() {
  function Loading(fn) {
    var p = new Promise(function(resolve, reject) {
      resolve();
    });
    p.then(fn)
  }
  return {
		Loading,

	};
}(Loading))