Throwaway prototypes for Sausage v3. Plan and decisions: ~/research/sausage-v3/PLAN.md. Results and evidence: the spike READMEs.
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
// This fixture checks TSX, package resolution, and browser rendering.
|
|
import { render } from 'preact';
|
|
|
|
const message: string = 'Hello from WASI';
|
|
function App() {
|
|
return <main><h1>{message}</h1><p>Preact + TypeScript</p></main>;
|
|
}
|
|
render(<App />, document.getElementById('app')!);
|