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=289&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 9781 results for "react"(1741ms)

geminiVoiceVisualizermain.tsx8 matches

@dcm31โ€ขUpdated 3 weeks 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, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
14`;
15
16// Fragment Shader: Visuals from Gemini's "Reactive Starfield", but using uAmp uniform
17const fragmentShaderSource = `
18// Visual Design: Gemini / Google AI
90
91// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
92// React component (using o3's audio capture structure)
93// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
94
195 .catch(err => {
196 console.error("Microphone access error:", err);
197 alert("Microphone access denied or error. Visuals will not react.");
198 });
199
304 }}
305 >
306 Reactive Starfield - Visuals by Gemini / Google AI <br /> (Audio input processing adapted from o3 example)
307 </div>
308 {/* Optional: Tiny debug amplitude bar from o3 example */}
337 <meta charset="UTF-8">
338 <meta name="viewport" content="width=device-width, initial-scale=1.0">
339 <title>Mic Reactive Starfield</title>
340 <style>${css}</style>
341 </head>

o3Artmain.tsx4 matches

@dcm31โ€ขUpdated 3 weeks ago
5 */
6
7/** @jsxImportSource https://esm.sh/react@18.2.0 */
8import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
9import React, { useEffect, useRef } from "https://esm.sh/react@18.2.0";
10
11// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
60
61// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
62// React component rendering WebGL
63// โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
64

geminiArt2main.tsx4 matches

@dcm31โ€ขUpdated 3 weeks 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, useRef } from "https://esm.sh/react@18.2.0";
4
5// --- Vertex Shader (Simple pass-through) ---
126`;
127
128// --- React Component ---
129function App() {
130 const canvasRef = useRef<HTMLCanvasElement>(null);

chatGPTsArtmain.tsx3 matches

@dcm31โ€ขUpdated 3 weeks 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, useRef } from "https://esm.sh/react@18.2.0";
4
5// --- Vertex Shader (Simple pass-through) ---

geminisArtmain.tsx4 matches

@dcm31โ€ขUpdated 3 weeks 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, useRef } from "https://esm.sh/react@18.2.0";
4
5// --- Vertex Shader (Simple pass-through) ---
113`;
114
115// --- React Component ---
116function App() {
117 const canvasRef = useRef<HTMLCanvasElement>(null);

eink-frameweather.tsx3 matches

@seigelโ€ขUpdated 3 weeks ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import GetWeather, { type WEATHER_FORECAST } from "../api/weather.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-framenews.tsx3 matches

@seigelโ€ขUpdated 3 weeks ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server/";
4import GetNews from "../api/news.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-frameindex.tsx3 matches

@seigelโ€ขUpdated 3 weeks ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import { Header } from "./components.tsx";
5import hemolog from "./frames/hemolog.tsx";

eink-framehemolog.tsx3 matches

@seigelโ€ขUpdated 3 weeks ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import GetLogs, { type HEMOLOG_TREATMENT } from "../api/hemolog.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-framefontsTest.tsx3 matches

@seigelโ€ขUpdated 3 weeks ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";
5

StarterPackFeeds10 file matches

@moeโ€ขUpdated 6 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

new_website

@wolfโ€ขUpdated 12 hours ago
Starter template with client-side React & Hono server
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