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%20%22Optional%20title%22?q=react&page=77&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 13072 results for "react"(1690ms)

markdownBlogStarterLayout.tsx3 matches

@alecsparksโ€ขUpdated 4 days ago
1/** @jsxImportSource npm:react@18.2.0 */
2import type { ReactNode } from "npm:react@18.2.0";
3
4export function Layout({ children }: { children: ReactNode }) {
5 return (
6 <html lang="en">

markdownBlogStarterindex.tsx4 matches

@alecsparksโ€ขUpdated 4 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import Markdown from "https://esm.sh/react-markdown@9?deps=react@18.2.0";
3import { listFiles, readFile } from "https://esm.town/v/std/utils@85-main/index.ts";
4import { renderToString } from "npm:react-dom@18.2.0/server";
5import { Layout } from "./Layout.tsx";
6
44}
45
46function html(children: React.ReactNode) {
47 return new Response(
48 renderToString(

waho_pro_advancenewpage.tsx3 matches

@wahobdโ€ขUpdated 4 days 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
5// เฆจเฆคเงเฆจ NoInternetPage เฆ•เฆฎเงเฆชเง‹เฆจเง‡เฆจเงเฆŸ

SampleREADME.md2 matches

@muskan2โ€ขUpdated 4 days ago
26โ”‚ โ”œโ”€โ”€ index.html # Main application
27โ”‚ โ”œโ”€โ”€ components/
28โ”‚ โ”‚ โ”œโ”€โ”€ App.tsx # Main React component
29โ”‚ โ”‚ โ”œโ”€โ”€ LessonViewer.tsx # Lesson display
30โ”‚ โ”‚ โ”œโ”€โ”€ CodeEditor.tsx # Python code editor
57
58- **Backend**: Hono (TypeScript) for API routes
59- **Frontend**: React with TypeScript
60- **Database**: SQLite for progress tracking
61- **Styling**: TailwindCSS for responsive design

ciphermain.tsx5 matches

@baoโ€ขUpdated 4 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { array } from "https://esm.sh/@types/prop-types@15.7.14/index";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { createRef, useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
5
6const quoteCount = 3186;
340 const [isRevealed, setIsRevealed] = useState(false);
341 const [currentFocusIndex, setCurrentFocusIndex] = useState<number | null>(null);
342 const inputRefs = useRef<React.RefObject<HTMLInputElement>[]>([]);
343 const [copied, setCopied] = useState(false);
344 const [knownTextsShown, setKnownTextsShown] = useState(false);
488 };
489
490 const handleKeyDown = (index: number, event: React.KeyboardEvent<HTMLInputElement>) => {
491 if (!cipher) return;
492

TarunkumarREADME.md1 match

@Sarthak_ffโ€ขUpdated 5 days ago
46
47- Backend: Hono.js with SQLite
48- Frontend: React with TypeScript
49- Styling: TailwindCSS
50- Authentication: Session-based with cookies

tarunkumarwebsiteindex.html1 match

@Hemanthackerโ€ขUpdated 5 days ago
58 <div id="root"></div>
59
60 <!-- React and app scripts -->
61 <script type="module" src="/frontend/index.tsx"></script>
62</body>

tarunkumarwebsiteREADME.md4 matches

@Hemanthackerโ€ขUpdated 5 days ago
1# TravelEase - Complete Travel Booking Website
2
3A comprehensive travel booking platform built with React, Hono, and SQLite on Val Town.
4
5## Features
32โ”‚ โ”‚ โ””โ”€โ”€ Layout/ # Header, Footer, Navigation
33โ”‚ โ”œโ”€โ”€ index.html # Main HTML template
34โ”‚ โ”œโ”€โ”€ index.tsx # React entry point
35โ”‚ โ””โ”€โ”€ style.css # Custom styles
36โ””โ”€โ”€ shared/
49## Tech Stack
50
51- **Frontend**: React 18.2.0 with TypeScript
52- **Backend**: Hono framework
53- **Database**: SQLite
57## Getting Started
58
59The main entry point is `/backend/index.ts` which serves the React frontend and API routes.

LeadmagmagicREADME.md1 match

@andiebukโ€ขUpdated 5 days ago
21
22- **Backend**: Hono.js API with Together AI integration
23- **Frontend**: React with TypeScript
24- **AI**: Together AI for content analysis and generation
25- **Storage**: Val Town Blob for file handling

LeadmagmagicUpload.tsx6 matches

@andiebukโ€ขUpdated 5 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState, useRef } from "https://esm.sh/react@18.2.0";
3import type { AppState, UploadResponse } from "../../shared/types.ts";
4
13 const fileInputRef = useRef<HTMLInputElement>(null);
14
15 const handleDragOver = (e: React.DragEvent) => {
16 e.preventDefault();
17 setDragOver(true);
18 };
19
20 const handleDragLeave = (e: React.DragEvent) => {
21 e.preventDefault();
22 setDragOver(false);
23 };
24
25 const handleDrop = (e: React.DragEvent) => {
26 e.preventDefault();
27 setDragOver(false);
48 };
49
50 const handleFileInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
51 const files = e.target.files;
52 if (files && files.length > 0) {

reactHonoStarter4 file matches

@notmartโ€ขUpdated 1 day 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