docs: remove JSX pragma everywhere

This commit is contained in:
Luca Casonato
2022-09-08 11:53:38 +02:00
committed by Luca Casonato
parent 6c4f3a36d0
commit 77142fe4a0
10 changed files with 0 additions and 33 deletions
@@ -31,8 +31,6 @@ Here is an example of an island component that counts down to a specific time.
```tsx
// islands/Countdown.tsx
/** @jsx h */
import { h } from "preact";
import { useEffect, useState } from "preact/hooks";
const timeFmt = new Intl.RelativeTimeFormat("en-US");
@@ -76,8 +74,6 @@ client with the correct props:
```tsx
// routes/countdown.tsx
/** @jsx h */
import { h } from "preact";
import Countdown from "../islands/Countdown.tsx";
export default function Page() {