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/$%7Bsuccess?q=react&page=847&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 9335 results for "react"(2651ms)

lovableVioletLandfowlmain.tsx3 matches

@eligosmlytics•Updated 6 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 Popup({ isOpen, onClose, content }) {

imageToWebPConvertermain.tsx3 matches

@eligosmlytics•Updated 6 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 App() {

steadfastCrimsonAlligatormain.tsx3 matches

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

italymain.tsx5 matches

@all•Updated 6 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";
4import { TransformWrapper, TransformComponent } from 'https://esm.sh/react-zoom-pan-pinch';
5import { CSVLink } from "https://esm.sh/react-csv";
6
7const regionData = {

genuineGrayWrenmain.tsx6 matches

@stevekrouse•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { HTML5Backend } from "https://esm.sh/react-dnd-html5-backend@16.0.1";
3import { DndProvider, useDrag, useDrop } from "https://esm.sh/react-dnd@16.0.1";
4import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
5import React, {
6 forwardRef,
7 useCallback,
10 useRef,
11 useState,
12} from "https://esm.sh/react@18.2.0";
13
14const MODELS = ["llama3.1-8b", "llama3.1-70b"];

tldrawClientmain.tsx1 match

@maxm•Updated 7 months ago
2
3
4console.log(globalThis.React)

tldrawClientREADME.md1 match

@maxm•Updated 7 months ago
11
12Uses a pinned older version of tldraw because the other ones seem to fail on a weird dependency issue. My guess is that the val.town bundler tricks don't work so good on transitive deps, but I don't really know.
13@use-gesture/react couldn't find the right import for a call to useMemo.

DeleteExtraTextmain.tsx3 matches

@willthereader•Updated 7 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// You need to remove all instances of the word New then it'll remove the date and word count so it's easier
5// to compare the actual list of title to what I got

mlbScoreFetchermain.tsx3 matches

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

oliveGardenCharmain.tsx3 matches

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

IClickWolf4 file matches

@vtTestLocal•Updated 1 day ago
Starter template with client-side React & Hono server

vt-discord4 file matches

@boucher•Updated 6 days ago
Starter template with client-side React & Hono server
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