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/$%7Burl%7D?q=react&page=856&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 9664 results for "react"(1560ms)

notUberFoldermain.tsx3 matches

@vawogbemi•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {

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.

new_website

@wolf•Updated 3 hours ago
Starter template with client-side React & Hono server

StarterPackFeeds10 file matches

@moe•Updated 20 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