Hello, world.
\n{"version":3,"sources":["lib/api.js","App.js","lib/hooks.js","reportWebVitals.js","index.js"],"names":["index","fetch","then","res","json","App","factories","loadFn","dependencies","useState","error","setError","fetching","setFetching","response","setResponse","asyncFetch","a","done","useEffect","catch","useMemo","useRemoteData","api","console","log","className","class","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"2PAAO,SAASA,IACd,OAAOC,MAAM,UACVC,MAAK,SAAAC,GAAG,OAAIA,EAAIC,U,6CCuBNC,MAjBf,WACE,IAAMC,ECQD,SAAuBC,GAA4B,IAApBC,EAAmB,uDAAJ,GACnD,EAA0BC,mBAAS,MAAnC,mBAAOC,EAAP,KAAcC,EAAd,KACA,EAAgCF,mBAASD,IAAiB,IAA1D,mBAAOI,EAAP,KAAiBC,EAAjB,KACA,EAAgCJ,mBAAS,MAAzC,mBAAOK,EAAP,KAAiBC,EAAjB,KAHuD,SAUxCC,IAVwC,2EAUvD,sBAAAC,EAAA,+EACSV,KADT,4CAVuD,sBAcvD,SAASW,IACPL,GAAY,GAOd,OAjBAM,qBAAU,WACRN,GAAY,GACZG,IAAad,KAAKa,GAAaK,MAAMT,GAAUT,KAAKgB,KACnDV,GAUWa,mBAAQ,WACpB,MAAO,CAACX,QAAOE,WAAUE,cACxB,CAACJ,EAAOE,EAAUE,ID5BHQ,CAAcC,GAIhC,OAFAJ,qBAAU,WAAQK,QAAQC,IAAInB,KAAc,CAACA,IAG3C,sBAAKoB,UAAU,MAAf,UACE,iCACE,qBAAKC,MAAM,cAAX,uBAEF,+BACE,oDEPOC,EAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,6BAAqB5B,MAAK,YAAkD,IAA/C6B,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCDdO,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,EAAD,MAEFC,SAASC,eAAe,SAM1BZ,M","file":"static/js/main.dace488a.chunk.js","sourcesContent":["export function index() {\n return fetch(\"./data\")\n .then(res => res.json());\n}\n","import { useEffect } from \"react\";\n\nimport './App.css';\nimport './layout.css';\n\nimport * as api from \"lib/api\";\nimport { useRemoteData } from \"lib/hooks\";\n\nfunction App() {\n const factories = useRemoteData(api.index);\n\n useEffect(() => { console.log(factories) }, [factories]);\n\n return (\n
Hello, world.
\n