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=594&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 9662 results for "react"(867ms)

chatGPTClonemain.tsx4 matches

@shadow24•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
5function App() {
10 const [isLoading, setIsLoading] = useState(false);
11
12 const handleSubmit = async (e: React.FormEvent) => {
13 e.preventDefault();
14 if (!input.trim()) return;

warmupmain.tsx3 matches

@smsohag•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// Theme Definition (Replacing external import)

tactfulGreenPigeonmain.tsx3 matches

@jarin1425•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, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5function App() {

aptTealStorkmain.tsx2 matches

@jarin1425•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 **/
2import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
3
4export default (req: Request) => {

assesmentmain.tsx3 matches

@atharv175•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 AnalyticsApp() {

animeStreamingAppmain.tsx3 matches

@HeilAnime•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// Free Anime API: Consumet's Anime API

Himain.tsx3 matches

@Amir7787•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 CelebrationOverlay() {

lovingBeigeMeerkatmain.tsx3 matches

@Fodencity365•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const paragraphs = [

MEMORY_MASTERmain.tsx3 matches

@AryanSingh•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, { useCallback, useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5// Expanded card themes

facebookCodeSammain.tsx6 matches

@roysarajit143•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, {
3 useState,
4 useEffect,
6 useMemo,
7 useRef
8} from "https://esm.sh/react@18.2.0";
9import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
10
11// Lightweight platform configurations with reduced complexity
249 const root = createRoot(document.getElementById("root")!);
250 root.render(
251 <React.StrictMode>
252 <SocialMediaAdvanced />
253 </React.StrictMode>
254 );
255}

new_website

@wolf•Updated 1 hour ago
Starter template with client-side React & Hono server

StarterPackFeeds10 file matches

@moe•Updated 18 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
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