issue/fetch #21

Merged
SethTrowbridge merged 9 commits from issue/fetch into master 2023-04-22 15:18:27 -04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4f594c2168 - Show all commits

View File

@ -12,7 +12,6 @@ export default ()=>
<nav class="p-4"> <nav class="p-4">
<a class="text-red-500" href="/">Home</a> <a class="text-red-500" href="/">Home</a>
<a href="/about">About</a> <a href="/about">About</a>
<a href="/lol">lol????</a>
</nav> </nav>
<h1 class="my-2 font(bold serif) text(3xl)">Title!!</h1> <h1 class="my-2 font(bold serif) text(3xl)">Title!!</h1>

View File

@ -270,7 +270,8 @@ FileListen("${url.pathname}", reloadHandler);`;
import {Router, Fetch} from "@eno/iso"; import {Router, Fetch} from "@eno/iso";
Twind.install(CSS); Twind.install(CSS);
Fetch.Seed(${JSON.stringify(seed)}); 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"));
</script> </script>
</body> </body>
</html>`; </html>`;