esbuild-wasm-bundler/other.tsx

6 lines
237 B
TypeScript
Raw Normal View History

2024-06-03 11:39:19 -04:00
export default "TEST STRING";
2024-06-03 16:12:38 -04:00
import {useState} from "react";
export const app =()=> {
const [stateGet, stateSet] = useState(7)
return <div><h1>lolidk <button onClick={_=>stateSet(stateGet + 1)}>{stateGet}</button></h1></div>;
}