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/$1?q=react&page=13&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 13205 results for "react"(2000ms)

RoadMapsToolbar.tsx2 matches

@aakash1402•Updated 10 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { RoadmapNode } from "../../shared/types.ts";
4

RoadMapsApp.tsx2 matches

@aakash1402•Updated 10 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useCallback } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import RoadmapCanvas from "./RoadmapCanvas.tsx";
4import Toolbar from "./Toolbar.tsx";

RoadMapsindex.tsx3 matches

@aakash1402•Updated 10 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client?deps=react@18.2.0,react-dom@18.2.0";
4import App from "./components/App.tsx";
5

GlancerApp.tsx4 matches

@lightweight•Updated 11 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { DemoData, isApiError, isNotionPage } from "../index.tsx";
4import { ChessEmbedIframe } from "./chess.tsx";
47 // current hash for nav styling
48 const currentHash = useCurrentHash();
49 // a little light logging so we can see that React is connecting the /frontend and the /backend
50 console.log("Current path:", location.pathname);
51 console.log("Demo data:", demoData);
515 };
516
517 // this last return puts the page elements from renderDemoData into a div, which React likes
518 return (
519 <div>

LOGINPAGEACCindex.tsx3 matches

@musakiplagat•Updated 12 hours 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 LoginForm from "./components/LoginForm.tsx";
5import Dashboard from "./components/Dashboard.tsx";

LOGINPAGEACCDashboard.tsx2 matches

@musakiplagat•Updated 12 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import type { User } from "../../shared/types.ts";
4

LOGINPAGEACCLoginForm.tsx3 matches

@musakiplagat•Updated 12 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import type { LoginRequest, LoginResponse } from "../../shared/types.ts";
4
13 const [error, setError] = useState("");
14
15 const handleSubmit = async (e: React.FormEvent) => {
16 e.preventDefault();
17 setIsLoading(true);

untitled-2488README.md3 matches

@soloVal•Updated 12 hours ago
1# Footer Component Implementation
2
3This project contains a pixel-perfect implementation of a footer design using React and TailwindCSS.
4
5## Files Structure
7- `main.tsx` - HTTP server using Hono to serve the application
8- `index.html` - Main HTML template with TailwindCSS setup
9- `index.tsx` - React application entry point with demo content
10- `footer.tsx` - The main footer component implementation
11
52## Usage
53
54The footer component can be imported and used in any React application:
55
56```tsx

untitled-2488index.tsx4 matches

@soloVal•Updated 12 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3import React from 'react';
4import { createRoot } from 'https://esm.sh/react-dom@18.2.0/client';
5import Footer from './footer.tsx';
6
7const App: React.FC = () => {
8 return (
9 <div className="min-h-screen bg-gray-100">

untitled-2488footer.tsx3 matches

@soloVal•Updated 12 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3import React from 'react';
4
5const Footer: React.FC = () => {
6 return (
7 <footer className="bg-slate-800 text-white py-16 px-8">

reactHonoStarter3 file matches

@angeltapes•Updated 3 hours ago
Website experiment

reactHonoStarter4 file matches

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