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/$%7Bsuccess?q=react&page=845&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 13055 results for "react"(1237ms)

customFontDemomain.tsx3 matches

@dcm31•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// Using jsDelivr CDN for the new font file

superCopperBisonmain.tsx5 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useRef, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { BallpointPenCard } from "https://esm.town/v/dcm31/ballpointPenCard?deps=react@18.2.0";
5import { MarkerPenCard } from "https://esm.town/v/dcm31/markerPenCard?deps=react@18.2.0";
6
7function FontAndCardShowcase() {

Emailswebmail3 matches

@avycado13•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/preact@10.19.2 */
2import { render } from "https://esm.sh/preact-render-to-string@6.2.0";
3import { h } from "https://esm.sh/preact@10.19.2";
4import { sqlite } from "https://esm.town/v/std/sqlite";
5

Custommadefansmain.tsx3 matches

@JerryA•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useCallback } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Styles for luxurious design

energycommunityshowcasemain.tsx3 matches

@nikko•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 EnergyCommunityApp() {

UTC_Memain.tsx3 matches

@hunterparks•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 App() {

logoWorkshop_migratedmain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const SimpleLogoGenerator = () => {

campycardsmain.tsx5 matches

@Learn•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, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5// --- Constants ---
558 createRoot(rootElement).render(<CardGraderApp />);
559 } else {
560 console.error("Root element not found for React app");
561 }
562}
716 }
717
718 // --- Serve HTML for GET requests (loads the React app) ---
719 if (request.method === "GET" && new URL(request.url).pathname === "/") {
720 // Use htmlContent defined below, ensuring it includes the current URL for the script src

Cardvaluemain.tsx5 matches

@find•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// --- Constants ---
262 createRoot(rootElement).render(<CardGraderApp />);
263 } else {
264 console.error("Root element not found for React app");
265 }
266}
400 }
401
402 // --- Serve HTML for GET requests (loads the React app) ---
403 if (request.method === "GET" && new URL(request.url).pathname === "/") {
404 return new Response(htmlContent, { // Use htmlContent defined below

Learningmain.tsx4 matches

@find•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// --- Frontend Component ---
560 // --- Serve HTML for GET requests ---
561 if (request.method === "GET" && pathname === "/") {
562 // Serve the main HTML page that loads the React app
563 return new Response(
564 `

reactHonoStarter4 file matches

@notmart•Updated 1 day ago

FarcasterGallery10 file matches

@moe•Updated 1 day ago
Hono + React + Tailwind + Farcaster Frame 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