Sha256: 753d85713504215e7095db68aede137bb86b9c34d687b5fe7272acd6829c2058
Contents?: true
Size: 1.69 KB
Versions: 10
Compression:
Stored size: 1.69 KB
Contents
(this["webpackJsonpfactory_burgers-ui"]=this["webpackJsonpfactory_burgers-ui"]||[]).push([[0],{11:function(t,e,n){},12:function(t,e,n){},13:function(t,e,n){},16:function(t,e,n){"use strict";n.r(e);var c=n(0),r=n.n(c),u=n(5),i=n.n(u);n(11),n(12),n(13);function a(){return fetch("./data").then((function(t){return t.json()}))}var o=n(4),s=n.n(o),f=n(6),j=n(2);var b=n(1);var h=function(){var t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object(c.useState)(null),r=Object(j.a)(n,2),u=r[0],i=r[1],a=Object(c.useState)(e===[]),o=Object(j.a)(a,2),b=o[0],h=o[1],l=Object(c.useState)(null),d=Object(j.a)(l,2),p=d[0],O=d[1];function g(){return v.apply(this,arguments)}function v(){return(v=Object(f.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(){h(!1)}return Object(c.useEffect)((function(){h(!0),g().then(O).catch(i).then(x)}),e),Object(c.useMemo)((function(){return{error:u,fetching:b,response:p}}),[u,b,p])}(a);return Object(c.useEffect)((function(){console.log(t)}),[t]),Object(b.jsxs)("div",{className:"App",children:[Object(b.jsx)("header",{children:Object(b.jsx)("div",{class:"header-text",children:"testing"})}),Object(b.jsx)("main",{children:Object(b.jsx)("p",{children:"Hello, world."})})]})},l=function(t){t&&t instanceof Function&&n.e(3).then(n.bind(null,17)).then((function(e){var n=e.getCLS,c=e.getFID,r=e.getFCP,u=e.getLCP,i=e.getTTFB;n(t),c(t),r(t),u(t),i(t)}))};i.a.render(Object(b.jsx)(r.a.StrictMode,{children:Object(b.jsx)(h,{})}),document.getElementById("root")),l()}},[[16,1,2]]]); //# sourceMappingURL=main.dace488a.chunk.js.map
Version data entries
10 entries across 10 versions & 1 rubygems