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=105&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 18375 results for "react"(3763ms)

Glimpsepdf.tsx1 match

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function PdfContent({ data, content }) {

Glimpseiframe.tsx1 match

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function IframeContent({ data, content }) {

Glimpseiframe.tsx2 matches

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { Hono } from "npm:hono";
3import { renderToString } from "https://esm.sh/react-dom@18.2.0/server?deps=react@18.2.0";
4
5const app = new Hono();

GlimpsegettingStarted.tsx1 match

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function GettingStartedContent({ data, title }) {

Glimpseform.tsx2 matches

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4export function FormContent({ data, content }) {

Glimpsechess.tsx1 match

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function ChessEmbedIframe({ config }) {

Glimpsecheckout.tsx2 matches

@lightweightโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4export function CheckoutContent({ data, content }) {

Glancer_Testtest.tsx1 match

@charmaineโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function Test() {

Glancer_TestREADME.md9 matches

@charmaineโ€ขUpdated 2 weeks ago
100## Codebase Structure
101
102This project extends Val Town's recommended approach for using Hono and React together (https://www.val.town/x/std/reactHonoStarter) with additional enterprise features.
103
104```
111โ”‚ โ”‚ โ””โ”€โ”€ views/ # HTML page serving
112โ”‚ โ””โ”€โ”€ index.ts # Main Hono application entry point
113โ”œโ”€โ”€ frontend/ # Client-side React application
114โ”‚ โ”œโ”€โ”€ components/ # React components
115โ”‚ โ”œโ”€โ”€ index.html # Main HTML template
116โ”‚ โ””โ”€โ”€ index.tsx # Frontend JavaScript entry point
125### Frontend (`/frontend`)
126
127React-based user interface with Tailwind CSS styling. Includes the main demo interface, cobrowsing integration, and interactive components.
128
129### Shared (`/shared`)
138- **Blob Storage**: Val Town's built-in caching solution for performance optimization
139- **Cron Jobs**: Scheduled tasks to maintain cache freshness
140- **React/JSX**: Frontend interface templates with TypeScript
141- **Tailwind CSS**: Utility-first CSS framework for styling
142
143## Technical Implementation
144
145### React Frontend
146
147The frontend uses React 18.2.0 with JSX import source configuration:
148
149```typescript
150/** @jsxImportSource https://esm.sh/react@18.2.0 */
151```
152
153All React dependencies are pinned to ensure compatibility across the platform.
154
155### Hono Backend Routes

Glancer_Testpdf.tsx1 match

@charmaineโ€ขUpdated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export function PdfContent({ data, content }) {

reactHonoStarterb4 file matches

@hhannaโ€ขUpdated 14 hours ago

reactHonoStarter4 file matches

@hhannaโ€ขUpdated 14 hours ago
franky47
Freelance software engineer, open-sourcerer, speaker. Building `nuqs`, a type-safe search params state manager for React.
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.