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=507&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 8120 results for "react"(827ms)

mathOfTheDayaccomplishedOrangePenguin3 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import confetti from "https://esm.sh/canvas-confetti@1.6.0";
3import katex from "https://esm.sh/katex@0.16.4";
4import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
5import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
6
7function renderMath(text) {

imageToWebPConvertermain.tsx3 matches

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

parseImportMetaproject.test2 matches

@std•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/preact */
2import { expect } from "jsr:@std/expect";
3import { makeBadge } from "npm:badge-maker";
4import { render } from "npm:preact-render-to-string";
5import prettyMilliseconds from "npm:pretty-ms";
6import { parseProject } from "./project";

b5338dba_f0ab_11ef_a041_e6cdfca9ef9fmain.tsx3 matches

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

chatAgentWithCustomPromptmain.tsx1 match

@mjoshimanhar•Updated 2 months ago
14
15 const executor = await initializeAgentExecutorWithOptions(tools, model, {
16 agentType: "chat-zero-shot-react-description",
17 agentArgs: {
18 humanMessageTemplate:

valentinemain.tsx3 matches

@sakura_17•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
4
5const NO_PHRASES = [

valentinemain.tsx3 matches

@bogdanmoale•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
4
5const NO_PHRASES = [

valentinemain.tsx3 matches

@Olafam•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
4
5const NO_PHRASES = [

vs_codemain.tsx4 matches

@AIWB•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import * as jose from "https://esm.sh/jose@4.14.4";
5
72 }, []);
73
74 const handleLogin = async (e: React.FormEvent) => {
75 e.preventDefault();
76 const response = await fetch(`/auth?username=${encodeURIComponent(username)}&password=${encodeURIComponent(password)}`);

stevekrouse_dot_comproposal.tsx2 matches

@stevekrouse•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3import { Link } from "../helpers.tsx";
4

vt-discord4 file matches

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

diceRollerUI1 file match

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