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/image-url.jpg%20%22Optional%20title%22?q=react&page=1137&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 16574 results for "react"(5599ms)

FC-Alt-Client-RedirectFarcasterMiniApp.tsx2 matches

@artlu•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import fcsdk from "https://esm.sh/@farcaster/frame-sdk";
3import { useEffect, useState } from "https://esm.sh/react@19";
4import { formatAddress, formatJSON, MonoButtonWithStatus, Section } from "./ui.tsx";
5

FC-Alt-Client-RedirectExample.tsx3 matches

@artlu•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export function Example() {
6 <div class="m-5 mb-8">
7 <h1 class="text-4xl font-semibold mb-2">Mini App Starter</h1>
8 <div class="opacity-50">Hono + React + Tailwind + Farcaster Mini App Starter Project on Val Town</div>
9 </div>
10 );
test

testhttp.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource npm:preact */
2import { render } from "npm:preact-render-to-string";
3
4export function it(name, fn) {

mdxmain.tsx3 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/preact **/
2
3import { modifyFetchHandler } from "https://esm.town/v/andreterron/codeOnValTown?v=50";
6import { gfm } from "https://esm.town/v/pomdtr/gfm";
7import { compile } from "npm:@mdx-js/mdx";
8import { render } from "npm:preact-render-to-string";
9import remarkFrontmatter from "npm:remark-frontmatter";
10import remarkMdxFrontmatter from "npm:remark-mdx-frontmatter";
30 const { readme } = await api(`/v1/alias/${author}/${name}`);
31 const vfile = await compile(readme, {
32 jsxImportSource: "https://esm.sh/preact",
33 remarkPlugins: [remarkFrontmatter, remarkMdxFrontmatter],
34 });

vtProjectSearch2deno.lock7 matches

@charmaine•Updated 2 months ago
3 "specifiers": {
4 "npm:@libsql/client@*": "0.15.2",
5 "npm:@types/react@*": "19.1.0",
6 "npm:@valtown/sdk@*": "0.38.2",
7 "npm:react-dom@*": "19.1.0_react@19.1.0",
8 "npm:react@*": "19.1.0",
9 "npm:zod@*": "3.24.2"
10 },
88 ]
89 },
90 "@types/react@19.1.0": {
91 "integrity": "sha512-UaicktuQI+9UKyA4njtDOGBD/67t8YEBt2xdfqu8+gP9hqPUPsiXlNPcpS2gVdjmis5GKPG3fCxbQLVgxsQZ8w==",
92 "dependencies": [
317 "integrity": "sha512-7nJ6v5lnJsXwGprnGXga4wx6d1POjvi5Qmf1ivTRxTjH4Z/9Czja/UCMLVmB9N93GeWOU93XaFaEt6jbuoagNw=="
318 },
319 "react-dom@19.1.0_react@19.1.0": {
320 "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
321 "dependencies": [
322 "react",
323 "scheduler"
324 ]
325 },
326 "react@19.1.0": {
327 "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg=="
328 },

vtProjectSearch2components.tsx5 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource npm:react */
2/** @jsxImportSourceTypes npm:@types/react */
3import { JSX } from "npm:react";
4import {
5 EnhancedSearchResult,
1216 <a href="?q=discord" className="example-link">discord</a>
1217 <a href="?q=openai" className="example-link">openai</a>
1218 <a href="?q=react" className="example-link">react</a>
1219 </div>
1220 </div>
1361 <a href="?q=discord" className="example-link">discord</a>
1362 <a href="?q=openai" className="example-link">openai</a>
1363 <a href="?q=react" className="example-link">react</a>
1364 </div>
1365 </div>

vtProjectSearch2api.tsx3 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource npm:react */
2/** @jsxImportSourceTypes npm:@types/react */
3import { renderToString } from "npm:react-dom/server";
4import {
5 SearchResponse as _SearchResponse

vtProjectSearchapi.tsx3 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource npm:react */
2/** @jsxImportSourceTypes npm:@types/react */
3// I'm just testing PRs
4import { renderToString } from "npm:react-dom/server";
5import { SearchPage } from "./components.tsx";
6import { getSearchStats, searchFileContentWithContext, searchTypeahead } from "./db.ts";

vtProjectSearchdeno.lock7 matches

@charmaine•Updated 2 months ago
3 "specifiers": {
4 "npm:@libsql/client@*": "0.15.2",
5 "npm:@types/react@*": "19.1.0",
6 "npm:@valtown/sdk@*": "0.38.2",
7 "npm:react-dom@*": "19.1.0_react@19.1.0",
8 "npm:react@*": "19.1.0",
9 "npm:zod@*": "3.24.2"
10 },
88 ]
89 },
90 "@types/react@19.1.0": {
91 "integrity": "sha512-UaicktuQI+9UKyA4njtDOGBD/67t8YEBt2xdfqu8+gP9hqPUPsiXlNPcpS2gVdjmis5GKPG3fCxbQLVgxsQZ8w==",
92 "dependencies": [
317 "integrity": "sha512-7nJ6v5lnJsXwGprnGXga4wx6d1POjvi5Qmf1ivTRxTjH4Z/9Czja/UCMLVmB9N93GeWOU93XaFaEt6jbuoagNw=="
318 },
319 "react-dom@19.1.0_react@19.1.0": {
320 "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
321 "dependencies": [
322 "react",
323 "scheduler"
324 ]
325 },
326 "react@19.1.0": {
327 "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg=="
328 },

vtProjectSearchcomponents.tsx5 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource npm:react */
2/** @jsxImportSourceTypes npm:@types/react */
3import { JSX } from "npm:react";
4import {
5 EnhancedSearchResult,
1216 <a href="?q=discord" className="example-link">discord</a>
1217 <a href="?q=openai" className="example-link">openai</a>
1218 <a href="?q=react" className="example-link">react</a>
1219 </div>
1220 </div>
1361 <a href="?q=discord" className="example-link">discord</a>
1362 <a href="?q=openai" className="example-link">openai</a>
1363 <a href="?q=react" className="example-link">react</a>
1364 </div>
1365 </div>

reactHonoStarter4 file matches

@nbbaier•Updated 11 mins ago

reactHonoStarter4 file matches

@ruleo•Updated 15 hours ago
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