Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Bsuccess?q=react&page=808&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=react

Returns an array of strings in format "username" or "username/projectName"

Found 12633 results for "react"(4729ms)

wondrousCyanBatmain.tsx3 matches

@dcm31•Updated 2 months ago
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) {
react-starter

react-starterApp.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export default function App () {
react-starter

react-starterclient.tsx3 matches

@jxnblk•Updated 2 months ago
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
react-starter

react-starterhttp.tsx4 matches

@jxnblk•Updated 2 months ago
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>
react-streaming-starter

react-streaming-starterhttp.tsx2 matches

@jxnblk•Updated 2 months ago
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");
react-streaming-starter

react-streaming-starterclient.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { hydrateRoot } from "https://esm.sh/react-dom@19/client";
3import App from "./App.tsx";
4
react-streaming-starter

react-streaming-starterApp.tsx4 matches

@jxnblk•Updated 2 months ago
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>
dotcom

dotcomproxies.tsx1 match

@jxnblk•Updated 2 months ago
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();
dotcom

dotcomredirects.tsx2 matches

@jxnblk•Updated 2 months ago
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");

fluentAmaranthChameleonmain.tsx3 matches

@Nwauto•Updated 2 months ago
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() {

reactHonoStarter4 file matches

@lightweight•Updated 1 day ago

reactHonoStarter4 file matches

@std•Updated 1 day ago
Starter template with client-side React & Hono server
effector
Write business logic with ease Meet the new standard for modern TypeScript development. Type-safe, reactive, framework-agnostic library to manage your business logic.
officialrajdeepsingh
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh