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=811&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 8584 results for "react"(1754ms)

multiroutePreactREADME.md2 matches

@iamseeleyUpdated 10 months ago
1🌐 Multi-Route Website with Preact
2
3Migrated from folder: vals_by_example/multiroutePreact

multirouteReactREADME.md2 matches

@iamseeleyUpdated 10 months ago
1🌐 Multi-Route Website with React
2
3Migrated from folder: vals_by_example/multirouteReact

preactExamplemain.tsx3 matches

@iamseeleyUpdated 10 months ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4export const preactExample = (request: Request) =>
5 new Response(render(<div>Test {1 + 1}</div>), {
6 headers: {

val_town_by_example_tocmain.tsx1 match

@pomdtrUpdated 10 months ago
65 title: "Client-Side",
66 items: [
67 "pomdtr/react_example",
68 todo("Val Town Islands"),
69 todo("Creating Web Component"),

val_town_by_example_tocmain.tsx1 match

@iamseeleyUpdated 10 months ago
65 title: "Client-Side",
66 items: [
67 "pomdtr/react_example",
68 todo("Val Town Islands"),
69 todo("Creating Web Component"),

dateme_faqmain.tsx1 match

@vawogbemiUpdated 10 months ago
1/** @jsxImportSource npm:hono@3/jsx */
2import { handler } from "https://esm.town/v/pomdtr/ssr";
3import date_me_faq from "https://esm.town/v/stevekrouse/dateme_faq_react";
4import Layout from "https://esm.town/v/vawogbemi/dateme_layout";
5

ragwithclaude_uimain.tsx1 match

@yawnxyzUpdated 10 months ago
3// https://simonw-ragwithclaude.web.val.run/?question=what%20is%20shot%20scraper
4
5import { renderToString } from "npm:react-dom/server";
6import { jsx } from "https://deno.land/x/hono@v3.11.7/middleware.ts";
7import { Hono } from "https://deno.land/x/hono@v3.11.7/mod.ts";

valTownChatGPTmain.tsx2 matches

@simonwUpdated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4
5// This uses by personal API key, you'll need to provide your own if

ivoryPorpoisemain.tsx3 matches

@neverstewUpdated 10 months ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3import { App } from "https://cdn.esm.sh/v90/preact@10.6.4/esm/cjs";
4
5const appHTML = () => {

dateme_router_hydratedmain.tsx7 matches

@stevekrouseUpdated 10 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import * as ReactDOM from "https://esm.sh/react-dom@18.2.0/client";
3import {
4 createBrowserRouter,
5 RouterProvider,
6} from "https://esm.sh/react-router-dom@6.23.0?deps=react@18.2.0,react-dom@18.2.0";
7import * as React from "https://esm.sh/react@18.2.0";
8import { routes } from "https://esm.town/v/stevekrouse/dateme_routes";
9
38});
39
40ReactDOM.hydrateRoot(
41 document.body,
42 <React.StrictMode>
43 <RouterProvider router={router} />
44 </React.StrictMode>,
45);

vt-discord4 file matches

@boucherUpdated 1 day ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31Updated 1 day ago
A web-based dice roller using React on Val Town
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