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=812&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 8591 results for "react"(1453ms)

val_town_by_example_tocmain.tsx1 match

@pomdtr•Updated 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

@iamseeley•Updated 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

@vawogbemi•Updated 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

@yawnxyz•Updated 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

@simonw•Updated 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

@neverstew•Updated 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

@stevekrouse•Updated 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);

dateme_routesmain.tsx6 matches

@stevekrouse•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { Browse, loader } from "https://esm.town/v/stevekrouse/dateme_browse_react";
3import FAQ from "https://esm.town/v/stevekrouse/dateme_faq_react";
4import Submit, { action } from "https://esm.town/v/stevekrouse/dateme_form_react";
5import Home from "https://esm.town/v/stevekrouse/dateme_home_react";
6import Root from "https://esm.town/v/stevekrouse/dateme_layout_react";
7
8export const routes = [

dateme_home_reactmain.tsx2 matches

@stevekrouse•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useEffect, useState } from "https://esm.sh/react@18.2.0";
3
4async function getCurrentPosition(opts): Promise<GeolocationPosition> {

dateme_react_hydratedREADME.md1 match

@stevekrouse•Updated 10 months ago
25
26
27Migrated from folder: Archive/dateme_react_hydrated

vt-discord4 file matches

@boucher•Updated 2 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 2 days 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