Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/causeeffect. JSX for Effect, with generator types preserved. causeeffect.website
Something went wrong. Try again.
330 B · 9 lines
TypeScript
at main
12345678910import { Runtime } from 'foldkit';import { Model, init, update, view } from './app.gtsx';import './style.css';
const container = document.getElementById('root');if (!container) throw new Error('The Foldkit application container is missing.');
Runtime.run(Runtime.makeApplication({ Model, init, update, view, container }));