docs: remove JSX pragma everywhere
This commit is contained in:
committed by
Luca Casonato
parent
6c4f3a36d0
commit
77142fe4a0
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user