function Home() {
    const helloWorld = useMemo(()=>new HelloWorld(), []);
    return /*#__PURE__*/ _jsx("button", {
        onClick: ()=>helloWorld.hi(),
        children: "Click me"
    });
}
Add your relevant code here for the issue to reproduce