feat: a new "island" based architechture (#97)

This commit is contained in:
Luca Casonato
2022-03-04 19:49:27 +01:00
committed by GitHub
parent d441bf2489
commit 8daa280862
70 changed files with 820 additions and 972 deletions
+13
View File
@@ -0,0 +1,13 @@
/** @jsx h */
import { h, IS_BROWSER } from "../client_deps.ts";
import Test from "../islands/Test.tsx";
export default function Home() {
return (
<div>
<Test message="Hello!" />
<p>{IS_BROWSER ? "Viewing browser render." : "Viewing JIT render."}</p>
</div>
);
}