feat: a new "island" based architechture (#97)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user