Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
import { initializeReactApp as initializeReactApp2 } from "https://esm.town/v/liamdanielduffy/initializeReactApp";
import { myReactComponent as myReactComponent2 } from "https://esm.town/v/liamdanielduffy/myReactComponent";
import { addReactFromCDN } from "https://esm.town/v/liamdanielduffy/addReactFromCDN";
export function myReactApp() {
const loadReact = addReactFromCDN();
const myReactComponent = myReactComponent2();
const initializeReactApp = initializeReactApp2();
return [loadReact, myReactComponent, initializeReactApp].join(" ");
}
October 23, 2023