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/?q=react&page=796&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 9063 results for "react"(1569ms)

blob_adminmain.tsx5 matches

@tobiasdossinger•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}

protectiveAmberApemain.tsx2 matches

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

commendableTealFerretmain.tsx3 matches

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

aiImageGeneratormain.tsx7 matches

@jumptoai•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 ImageGenerator() {
9 const [error, setError] = useState<string | null>(null);
10
11 const generateImage = async (e: React.FormEvent) => {
12 e.preventDefault();
13 setIsLoading(true);
203 <div id="root"></div>
204 <script type="module">
205 import React from "https://esm.sh/react";
206 import { createRoot } from "https://esm.sh/react-dom/client";
207
208 function ImageGenerator() {
215 const rootElement = document.getElementById("root");
216 if (rootElement) {
217 createRoot(rootElement).render(React.createElement(ImageGenerator));
218 }
219 }

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));

vt-discord4 file matches

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

diceRollerUI1 file match

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