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?q=react&page=838&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 11962 results for "react"(1075ms)

incredibleBrownEarwigmain.tsx3 matches

@HTKhan7Updated 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, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5// Define styles first

AkhilAimain.tsx6 matches

@Akhil_23Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import ReactMarkdown from "https://esm.sh/react-markdown@9.0.1";
5import rehypeKatex from "https://esm.sh/rehype-katex@7.0.0";
6import remarkMath from "https://esm.sh/remark-math@6.0.0";
91 </div>
92 <div className="message-content">
93 <ReactMarkdown
94 remarkPlugins={[remarkMath]}
95 rehypePlugins={[rehypeKatex]}
118 >
119 {msg.content}
120 </ReactMarkdown>
121 </div>
122 </div>

lenientEmeraldJackalmain.tsx3 matches

@piyush12kunjilwarUpdated 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() {

swiftOrangeLousemain.tsx3 matches

@piyush12kunjilwarUpdated 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() {

swiftOrangeLouseREADME.md2 matches

@piyush12kunjilwarUpdated 2 months ago
1🌦️ Weather Dashboard – Real-Time Weather Insights at Your Fingertips
2A modern React-powered weather application delivering real-time conditions and forecasts with intuitive visuals.
3
4👉 Live Demo (Deployable via Val Town)
31🛠️ Tech Powerhouse
32Component Technology Role
33Core Framework React 18 Dynamic UI Components
34Styling CSS Modules Pixel-Perfect Layouts
35Geo-Services Open-Meteo API Location/Weather Data

transaction_challengemain.tsx3 matches

@danielblakerUpdated 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, useRef, useState } from "https://esm.sh/react@18.2.0";
4import { blob } from "https://esm.town/v/std/blob";
5

getProjectsAsZipsindex.tsx2 matches

@shouserUpdated 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

getProjectsAsZipsApp.tsx3 matches

@shouserUpdated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { MessageInput } from "./MessageInput.tsx";
4
5export function App({ projects }: { projects: any[] }) {
6 const [url, setURL] = React.useState("");
7
8 return (

reactWeatherDashboardmain.tsx3 matches

@vanzelUpdated 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() {

reactHonoStarterREADME.md4 matches

@pomdtrUpdated 2 months ago
1# React Hono Starter
2
3This app is a starter template for client-side React and server-side Hono.
4
5The **entrypoint** is `/backend/index.ts`. That's the backend HTTP server, which also serves the all the frontend assets.
6
7The **client-side entrypoint** is `/frontend/index.html`, which in turn imports `/frontend/index.tsx`, which in turn imports the React app from `/frontend/components/App.tsx`.
8
9[React Hono Example](https://www.val.town/x/stevekrouse/reactHonoExample) is a fuller featured example project, with a SQLite database table, queries, client-side CSS and a favicon, and some shared code that runs on both client and server.

reactHonoStarter4 file matches

@ultragamer969Updated 4 hours ago

reactHonoStarter4 file matches

@lightweightUpdated 9 hours ago
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