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/$%7Bart_info.art.src%7D?q=react&page=753&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 9712 results for "react"(1987ms)

reactRouter7index.ts1 match

@charmaine•Updated 3 months ago
2 ActionFunctionArgs,
3 LoaderFunctionArgs,
4} from "https://esm.sh/react-router@7.1.3?deps=react@18.2.0,react-dom@18.2.0";
5import aboutLoader from "./about.loader.ts";
6import About from "./about.tsx";

reactRouter7home.tsx1 match

@charmaine•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export default function Home() {

reactRouter7entry.server.tsx3 matches

@charmaine•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
3import {
4 createStaticHandler,
5 createStaticRouter,
6 StaticRouterProvider,
7} from "https://esm.sh/react-router@7.1.3?deps=react@18.2.0,react-dom@18.2.0";
8
9import routes from "./routes/index.ts";

reactRouter7about.tsx2 matches

@charmaine•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3import { useLoaderData } from "https://esm.sh/react-router@7.1.3?deps=react@18.2.0,react-dom@18.2.0";
4import type loader from "./about.loader.js";
5

reactRouter7about.loader.ts1 match

@charmaine•Updated 3 months ago
1import { data } from "https://esm.sh/react-router@7.1.3?deps=react@18.2.0,react-dom@18.2.0";
2
3export default async function load() {

dogfoodingmain.tsx3 matches

@stevekrouse•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {

codemirrorTsBrowsermain.tsx1 match

@maxm•Updated 3 months ago
50 target: ts.ScriptTarget.ESNext,
51 module: ts.ModuleKind.ESNext,
52 jsx: ts.JsxEmit.React,
53 lib: ["esnext", "dom"],
54 moduleDetection: ModuleDetectionKind.Force,

whiteNewtmain.tsx2 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { importMap } from "https://esm.town/v/maxm/codemirrorTsBrowser";
3import { renderToString } from "npm:react-dom/server";
4
5export default async function(req: Request): Promise<Response> {

YoutubeSearchAppmain.tsx3 matches

@aazad•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5// Utility function for password hashing

linkinbio_25_2_5main.tsx3 matches

@aazad•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function LinkInBio() {

StarterPackFeeds10 file matches

@moe•Updated 5 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@deboneil07•Updated 6 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