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=527&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"(1367ms)

1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Expanded instrument classes with emoji representations
160 };
161
162 const handleFileUpload = async (event: React.ChangeEvent<HTMLInputElement>) => {
163 const file = event.target.files?.[0];
164 if (file) {

jobAndChatAppmain.tsx3 matches

@oluwadarejohn•Updated 2 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, { useState } from "https://esm.sh/react@18.2.0";
4
5const SCHOOL_CONFIG = {

listGuestsMainPagemain.tsx3 matches

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

Translation_Trends_Monitor_2025main.tsx3 matches

@AyaMekki8•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Curated list of translation and localization skills/technologies with predefined definitions

taskManagerAppmain.tsx3 matches

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

jobPostChatAppmain.tsx3 matches

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

buildBlogmain.tsx11 matches

@Klaksy•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import ReactMarkdown from "https://esm.sh/react-markdown@9.0.0";
4import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
5import rehypeHighlight from "https://esm.sh/rehype-highlight@7.0.0";
6import remarkGfm from "https://esm.sh/remark-gfm@4.0.0";
53 : (
54 <div className="markdown-preview">
55 <ReactMarkdown
56 remarkPlugins={[remarkGfm]}
57 rehypePlugins={[rehypeHighlight]}
58 >
59 {value || "Nothing to preview"}
60 </ReactMarkdown>
61 </div>
62 )}
92 const [content, setContent] = useState(initialPost.content);
93
94 const handleSubmit = (e: React.FormEvent) => {
95 e.preventDefault();
96 onSubmit({
138 </header>
139 <div className="post-content">
140 <ReactMarkdown
141 remarkPlugins={[remarkGfm]}
142 rehypePlugins={[rehypeHighlight]}
143 >
144 {post.content}
145 </ReactMarkdown>
146 </div>
147 <div className="post-actions">
223 <div className="post-list">
224 {posts.map(post => (
225 <React.Fragment key={`post-${post.id}`}>
226 {editingPost?.id === post.id
227 ? (
241 />
242 )}
243 </React.Fragment>
244 ))}
245 </div>

NeloDigitalAppmain.tsx3 matches

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

artShareAppmain.tsx3 matches

@Omar1163•Updated 2 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
5function ArtUploadForm({ onUpload }) {

ableApricotApemain.tsx4 matches

@ssr•Updated 2 months ago
58 ]
59 },
60 description: "A comprehensive Placement Management Dashboard built with Val Town, React, and Deno",
61 technologies: [
62 "React 18.2.0",
63 "Val Town",
64 "Deno",
75 ],
76 architectureNotes: {
77 frontend: "React-based SPA with modular component structure",
78 backend: "Serverless Val Town functions with SQLite storage",
79 dataFlow: "Client-side React components interact with Val Town backend APIs"
80 }
81 };

vt-discord4 file matches

@boucher•Updated 1 day ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

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