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/$1?q=react&page=1267&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 16019 results for "react"(6101ms)

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
5// Comprehensive list of musical instruments with details

agileApricotPossummain.tsx3 matches

@Koka•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, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5// Gamification and Progress Tracking
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 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, { useState } from "https://esm.sh/react@18.2.0";
4
5const SCHOOL_CONFIG = {

listGuestsMainPagemain.tsx3 matches

@izabayomucyo35p•Updated 3 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 3 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 3 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 3 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 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 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 3 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() {

MiniAppStarter10 file matches

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

hanabi3 file matches

@jxnblk•Updated 11 hours ago
React Router for Hono in 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