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/$%7Bart_info.art.src%7D?q=react&page=804&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 9076 results for "react"(3679ms)

expositionAgencyPagemain.tsx3 matches

@bladesquad•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect, useCallback } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5// Comprehensive Validation Utility

sweetBonanzaGamemain.tsx3 matches

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

superFuchsiaTernmain.tsx2 matches

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

cerebras_codermain.tsx6 matches

@kxxoling•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import Cerebras from "https://esm.sh/@cerebras/cerebras_cloud_sdk";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5import { Prism as SyntaxHighlighter } from "https://esm.sh/react-syntax-highlighter";
6import { tomorrow } from "https://esm.sh/react-syntax-highlighter/dist/esm/styles/prism";
7
8function App() {
18 >(null);
19
20 async function handleSubmit(e: React.FormEvent) {
21 e.preventDefault();
22 setLoading(true);

gregariousIvoryOstrichmain.tsx4 matches

@danieladmsf•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect, useMemo } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { FaEdit, FaTrash, FaWhatsapp, FaSearch } from "https://esm.sh/react-icons/fa";
5
6const formatDate = (date) => date.toLocaleDateString();

webpage_summarizermain.tsx4 matches

@ubixsnow•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {
8 const [isLoading, setIsLoading] = useState(false);
9
10 const handleSubmit = async (e: React.FormEvent) => {
11 e.preventDefault();
12 setIsLoading(true);

renderResumemain.tsx6 matches

@art3miz18•Updated 5 months ago
1import React from "https://esm.sh/react";
2import { Document, Page, pdf } from "https://esm.sh/@react-pdf/renderer";
3
4export function renderResume({
13 customTitle
14}) {
15 // Create a React component for the resume PDF
16 const ResumeDocument = () => {
17 const allSections = ['header', 'summary', 'education', 'work', 'projects', 'volunteer', 'awards', 'certificates', 'publications', 'skills', 'languages', 'interests', 'references'];
65
66 <script type="module">
67 import React from 'https://esm.sh/react';
68 import { createRoot } from 'https://esm.sh/react-dom/client';
69 import { pdf } from 'https://esm.sh/@react-pdf/renderer';
70
71 const resumeDetails = ${JSON.stringify(resumeDetails)};

magnificentJadeDonkeymain.tsx4 matches

@daniel1987600•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { FaEdit, FaTrash, FaWhatsapp } from "https://esm.sh/react-icons/fa";
5
6// Mock data

sublimeCrimsonReindeermain.tsx2 matches

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

travelSurveyAppmain.tsx3 matches

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

vt-discord4 file matches

@boucher•Updated 4 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

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