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/$%7Bart_info.art.src%7D?q=react&page=1210&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 16073 results for "react"(1478ms)

reactHonoStarterindex.html1 match

@johndevorUpdated 2 months ago
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>React Hono Val Town Starter</title>
7 <link rel="stylesheet" href="/public/style.css">
8 <link rel="icon" href="/public/favicon.svg" sizes="any" type="image/svg+xml">
1import confetti from "https://esm.sh/canvas-confetti@1.6.0";
2import React, { type MouseEvent } from "https://esm.sh/react@18.2.0";
3
4const App = () => {
15 return (
16 <div onMouseMove={onMouseMove}>
17 <h1>Hello React! ⚛️</h1>
18 <p>Building user interfaces.</p>
19 </div>

miraculousTanHeronmain.tsx3 matches

@AmlanUpdated 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";
4
5function WeatherDashboard() {

Earnmain.tsx3 matches

@shamim07Updated 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, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5function App() {

supplyChainWebAppmain.tsx3 matches

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

townieBearindex.ts1 match

@charmaineUpdated 2 months ago
4 * Uses OpenAI's API to generate code responses in the proper format.
5 */
6/** @jsxImportSource https://esm.sh/react@18.2.0 */
7import { Hono } from "npm:hono";
8import { cors } from "npm:hono/cors";

townieBearApp.tsx4 matches

@charmaineUpdated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef, useEffect } from "https://esm.sh/react@18.2.0";
3import { v4 as uuidv4 } from "https://esm.sh/uuid@9.0.0";
4
14 const [message, setMessage] = useState("");
15
16 const handleSubmit = (e: React.FormEvent) => {
17 e.preventDefault();
18 if (message.trim() && !disabled) {
218 };
219
220 const handleSubmit = (e: React.FormEvent) => {
221 e.preventDefault();
222 handleCreateProject(projectName);

townieBearindex.tsx2 matches

@charmaineUpdated 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 { App } from "./components/App.tsx";
4import { createProject } from './services/projectService';

project_to_textindex.tsx2 matches

@dcm31Updated 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 { App } from "./components/App.tsx";
4

project_to_textApp.tsx6 matches

@dcm31Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import Toast from "https://esm.sh/toastify-js";
4
5export function App() {
6 const [name, setName] = React.useState("project_to_text");
7 const [username, setUsername] = React.useState("stevekrouse");
8 const [text, setText] = React.useState<undefined | string>();
9 const [copyButtonText, setCopyButtonText] = React.useState("Copy");
10
11 const onExportClick = async () => {

MiniAppStarter10 file matches

@moeUpdated 19 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
hanabi

hanabi3 file matches

@jxnblkUpdated 22 hours ago
React Router for Hono in 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