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=803&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 9128 results for "react"(2380ms)

MicroSaasIdeaRoulettemain.tsx3 matches

@heltonteixeira•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";
4
5function App() {

respectfulMagentaQueleamain.tsx4 matches

@azkasources•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
5// Types for structured API response
17 const [error, setError] = useState<string | null>(null);
18
19 const handleSearch = async (e: React.FormEvent) => {
20 e.preventDefault();
21 setLoading(true);

MultiEncryptionKeyGeneratormain.tsx3 matches

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

ThankYouNoteGeneratormain.tsx2 matches

@willthereader•Updated 5 months ago
1import React, { useEffect, useState } from "https://esm.sh/react";
2import { createRoot } from "https://esm.sh/react-dom/client";
3
4function ThankYouCard({ note, theme, font, recipientName, senderName }) {

fullWebsiteCheckermain.tsx3 matches

@willthereader•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import * as cheerio from "https://esm.sh/cheerio";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6console.log("Version: " + import.meta.url.match(/[?&]v=([^&]*)/)?.at(1));

forwardermain.tsx3 matches

@debbie•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";
4import { encode } from "https://deno.land/std@0.203.0/encoding/base64.ts";
5import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";

imggenpromain.tsx3 matches

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

Storyweavermain.tsx4 matches

@aioe0x417a•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useRef } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function LoadingSpinner() {
29 const fileInputRef = useRef<HTMLInputElement>(null);
30
31 const handleImageUpload = async (event: React.ChangeEvent<HTMLInputElement>) => {
32 const file = event.target.files?.[0];
33 if (file) {

blob_adminREADME.md1 match

@emilo•Updated 5 months ago
6
7Versions 0-17 of this val were done with Hono and server-rendering.
8Versions 18+ were generated with Townie and use client-side React.
9
10To use this val, fork it to your account.

blob_adminmain.tsx5 matches

@emilo•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { Hono } from "https://esm.sh/hono";
3import { debounce } from "https://esm.sh/lodash-es";
4import React, { ReactNode, useCallback, useEffect, useRef, useState } from "https://esm.sh/react";
5import { createRoot } from "https://esm.sh/react-dom/client";
6import { useDropzone } from "https://esm.sh/react-dropzone";
7import { lastlogin } from "https://esm.town/v/stevekrouse/lastlogin_safe";
8import { LoginWithGoogleButton } from "https://esm.town/v/stevekrouse/LoginWithGoogleButton";
9
10interface TooltipProps {
11 children: ReactNode;
12 content: string;
13}

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