This allows users to control the `preact` version independently of fresh itself.
8 lines
186 B
TypeScript
8 lines
186 B
TypeScript
/** @jsx h */
|
|
import { h } from "preact";
|
|
import { PageProps } from "$fresh/runtime.ts";
|
|
|
|
export default function Home(props: PageProps) {
|
|
return <div>{JSON.stringify(props)}</div>;
|
|
}
|