diff --git a/example/app.tsx b/example/app.tsx index 263eb16..2f4abe9 100644 --- a/example/app.tsx +++ b/example/app.tsx @@ -12,7 +12,6 @@ export default ()=>

Title!!

diff --git a/server.tsx b/server.tsx index 7074a81..385f1ff 100644 --- a/server.tsx +++ b/server.tsx @@ -270,7 +270,8 @@ FileListen("${url.pathname}", reloadHandler);`; import {Router, Fetch} from "@eno/iso"; Twind.install(CSS); Fetch.Seed(${JSON.stringify(seed)}); - hydrate( H(Router.Provider, null, H(App)), document.querySelector("#app")); + const hmrWrap = H( ()=>H(App) ); + hydrate( H(Router.Provider, null, hmrWrap), document.querySelector("#app")); `;