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/image-url.jpg%20%22Optional%20title%22?q=react&page=866&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 9727 results for "react"(1543ms)

plantIdentifierAppmain.tsx3 matches

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

rollADicemain.tsx3 matches

@liyi•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
5/** Utility functions */

cerebras_codermain.tsx6 matches

@joyboy•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);

exceptionalBeigeMacawmain.tsx2 matches

@akbaruddin•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) => {

blissfulBlackToucanmain.tsx2 matches

@ibuuvai•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) => {

deepLTranslatorAppmain.tsx3 matches

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

captivatingLimeGuanmain.tsx3 matches

@mahtabtattur•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useRef, useCallback } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5// Expanded plant database with more comprehensive entries

yc_findermain.tsx5 matches

@stevekrouse•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { csvParse } from "https://esm.sh/d3-dsv@3.0.1";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6interface YCCompany {
81 }, []);
82
83 const handleFileUpload = (event: React.ChangeEvent<HTMLInputElement>) => {
84 const file = event.target.files?.[0];
85 if (file) {
96 };
97
98 const handleSubmit = (event: React.FormEvent) => {
99 event.preventDefault();
100 setIsLoading(true);

convivialAquaFinchmain.tsx2 matches

@philip2050•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) => {

geocodemain.tsx4 matches

@spinningideas•Updated 5 months ago
1/**
2 * This code creates a geocoder widget similar to the Google Maps API search widget.
3 * It uses React for the frontend, the Cerebras API for LLM-based geocoding,
4 * and Leaflet for displaying the map.
5 */
6
7/** @jsxImportSource https://esm.sh/react */
8import React, { useState, useEffect, useRef } from "https://esm.sh/react";
9import { createRoot } from "https://esm.sh/react-dom/client";
10import debounce from "https://esm.sh/lodash.debounce";
11

StarterPackFeeds10 file matches

@moe•Updated 13 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@deboneil07•Updated 14 hours ago
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