1/** @jsxImportSource https://esm.sh/react@18.3.1 */
2import { renderToString } from "https://esm.sh/react-dom@18.3.1/server";
3import React from "https://esm.sh/react@18.3.1";
4
5export default async function handler(req) {
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export default function App () {
1/** @jsxImportSource https://esm.sh/react@19 */
2import React from "https://esm.sh/react@19"
3import { hydrateRoot } from "https://esm.sh/react-dom@19/client";
4import App from "./App.tsx"
5
1/** @jsxImportSource https://esm.sh/react@19 */
2import React from "https://esm.sh/react@19";
3import { renderToString } from "https://esm.sh/react-dom@19/server";
4import App from "./App.tsx";
5
11 <html>
12 <head>
13 <title>React Starter</title>
14 </head>
15 <body>
1/** @jsxImportSource https://esm.sh/react@19 */
2import App from "./App.tsx";
3import { renderToReadableStream } from "https://esm.sh/react-dom@19/server";
4
5const CLIENT_MODULE = import.meta.url.replace("http.tsx", "client.tsx");
1/** @jsxImportSource https://esm.sh/react@19 */
2import { hydrateRoot } from "https://esm.sh/react-dom@19/client";
3import App from "./App.tsx";
4
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export default function App () {
8 <html>
9 <head>
10 <title>React Streaming Starter</title>
11 </head>
12 <body>
13 <h1>React Streaming Starter</h1>
14 <pre>{count}</pre>
15 <button onClick={() => setCount(c => c + 1)}>count++</button>
1import { match, parse, pathToRegexp } from "https://esm.sh/path-to-regexp@7.2.0";
2import { DataRequest } from "https://esm.town/v/jxnblk/reactstream/index.tsx";
3
4const proxies = new Map();
1import { match, parse, pathToRegexp } from "https://esm.sh/path-to-regexp@7.2.0";
2import { DataRequest } from "https://esm.town/v/jxnblk/reactstream/index.tsx";
3
4const redirects = new Map();
5// redirects.set("/hello-color", "https://jxnblk.io/hello-color");
6redirects.set("/react-icons", "https://jxnblk.io/react-icons/");
7
8redirects.set("/colorable", "https://colorable.jxnblk.com");
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function App() {