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/?q=react&page=354&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 4692 results for "react"(524ms)

react-streaming-starter

react-streaming-starterclient.tsx2 matches

@jxnblk•Updated 1 month 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 1 month 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 1 month 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 1 month 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");

skullcatYear.tsx4 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3import { Motion, spring } from 'https://esm.sh/react-motion'
4import { Progress } from 'https://esm.sh/rebass@0.2.4'
5import bumpkit from './bumpkit.tsx'
37}
38
39class Year extends React.Component {
40 shouldComponentUpdate ({ step, year, unlocks }) {
41 return step !== this.props.step ||

skullcatApp.tsx4 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@15 */
2
3import React from 'https://esm.sh/react@15'
4// import Perf from 'react-addons-perf'
5import { Flex } from 'https://esm.sh/reflexbox@1.1.0'
6import { Fixed } from 'https://esm.sh/rebass@0.2.4'
19import Paused from './Paused.tsx'
20
21class App extends React.Component {
22 constructor () {
23 super()

skullcatControls.tsx4 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3import {
4 Block,
6 Slider
7} from 'https://esm.sh/rebass@0.2.4'
8import Icon from 'https://esm.sh/react-geomicons@2.0.5'
9import fullscreen from './util/fullscreen.tsx'
10import Btn from './Btn.tsx'
11import Matrix from './Matrix.tsx'
12
13class Controls extends React.Component {
14 shouldComponentUpdate ({ intro, playing, scene, level }) {
15 return intro !== this.props.intro ||

skullcatget-unlocks.tsx1 match

@jxnblk•Updated 1 month ago
1import React from 'https://esm.sh/react@15'
2import {
3 flatten,

react-hono-with-react-routerindex.tsx4 matches

@stevekrouse•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import {
4 createBrowserRouter,
5 RouterProvider,
6} from "https://esm.sh/react-router-dom@6.22.2?deps=react@18.2.0&react-dom@18.2.0";
7import { StrictMode } from "https://esm.sh/react@18.2.0";
8
9import { App } from "./components/App.tsx";

react-hono-with-react-routerRouter.tsx3 matches

@stevekrouse•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createBrowserRouter } from "https://esm.sh/react-router-dom@6.22.2?deps=react@18.2.0&react-dom@18.2.0";
3import React from "https://esm.sh/react@18.2.0";
4import { App } from "./App.tsx";
5// Then create and export the router

react-router-starter-remix-13 file matches

@jxnblk•Updated 2 days ago

reactHonoStarter4 file matches

@stfnsr•Updated 3 days ago