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?q=react&page=1221&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 13027 results for "react"(4394ms)

tsParticlesValmain.tsx4 matches

@all•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useCallback, useState, useRef } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import Particles from "https://esm.sh/react-tsparticles";
5import { loadFull } from "https://esm.sh/tsparticles@2.9.3";
6import type { Engine } from "https://esm.sh/tsparticles-engine";

goodVibesmain.tsx4 matches

@all•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useRef, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {
41 }, []);
42
43 const handleTextChange = (e: React.ChangeEvent<HTMLInputElement>) => {
44 setMainText(e.target.value);
45 };

excaliGridmain.tsx3 matches

@all•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useCallback, useEffect, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function ExcalidrawCanvas({ name, url, onRemove, onRename, onUrlChange }) {

chronospheremain.tsx3 matches

@all•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useRef, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import * as THREE from "https://esm.sh/three";
5import { TrackballControls } from "https://esm.sh/three/examples/jsm/controls/TrackballControls";

chronoGenmain.tsx3 matches

@all•Updated 8 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
5// Mock chromospace module

excaliEmbedmain.tsx3 matches

@all•Updated 8 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() {

weirdOneUptimemain.tsx3 matches

@zicklag•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { sqlite } from "https://esm.town/v/std/sqlite?v=6";
3import { html } from "https://esm.town/v/stevekrouse/html";
4import { SparklineSVG } from "https://esm.town/v/stevekrouse/sparklineSVGReact";
5import { renderToString } from "npm:react-dom/server";
6
7function StatusRow({ rows }) {

rottenMoccasinHamstermain.tsx2 matches

@aaronvg•Updated 8 months ago
1/** @jsxImportSource npm:react **/
2import { renderToString } from "npm:react-dom@18/server";
3
4export default (req: Request) => {

Badge_Generatormain.tsx7 matches

@muhammad_owais_warsi•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { renderToString } from "https://esm.sh/react-dom/server";
5
6function Badge({ username, title }) {
39
40function App() {
41 const [username, setUsername] = React.useState("");
42 const [title, setTitle] = React.useState("");
43 const [embedCode, setEmbedCode] = React.useState("");
44
45 const generateEmbedCode = () => {

Whatsapp_Sendmain.tsx3 matches

@muhammad_owais_warsi•Updated 8 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() {

reactHonoStarter4 file matches

@notmart•Updated 16 hours ago

FarcasterGallery10 file matches

@moe•Updated 1 day ago
Hono + React + Tailwind + Farcaster Frame 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