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//%22$%7Bconfig.siteUrl%7D/%22?q=react&page=1&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 21590 results for "react"(1294ms)

3 */
4
5import { useEffect, useRef } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
6import { updateViewingStatus } from "../services/viewingService.ts";
7
1# Frontend Hooks
2
3This directory contains custom React hooks that encapsulate stateful logic and side effects.
4
5## Files

eventsCalendarlogs.tsx2 matches

@roopUpdated 3 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3import { sqlite } from "https://esm.town/v/std/sqlite";
4

TopTenVideospremium-input-iframe.html2 matches

@pmapowerUpdated 4 hours ago
108 </label>
109 <input type="text" id="customSubNiche" name="customSubNiche"
110 placeholder="e.g., React tutorials, Vegan recipes..."
111 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500">
112 </div>
268 gaming: ['Game Reviews', 'Let\'s Play', 'Gaming News', 'Esports', 'Game Development', 'Mobile Gaming', 'Retro Gaming', 'Gaming Hardware'],
269 education: ['Online Courses', 'Language Learning', 'Math Tutorials', 'Science Experiments', 'History Lessons', 'Study Tips', 'Test Preparation', 'Educational Kids Content'],
270 entertainment: ['Movie Reviews', 'Comedy Skits', 'Reaction Videos', 'Celebrity News', 'TV Show Recaps', 'Stand-up Comedy', 'Viral Challenges', 'Pop Culture'],
271 lifestyle: ['Home Decor', 'Organization Tips', 'Minimalism', 'Self Improvement', 'Productivity', 'Morning Routines', 'Life Hacks', 'Personal Development'],
272 fitness: ['Workout Routines', 'Nutrition Tips', 'Weight Loss', 'Yoga', 'Bodybuilding', 'Running', 'Mental Health', 'Healthy Recipes'],

TopTenVideosfree-input-iframe.html2 matches

@pmapowerUpdated 4 hours ago
85 </label>
86 <input type="text" id="customSubNiche" name="customSubNiche"
87 placeholder="e.g., React tutorials, Vegan recipes..."
88 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
89 </div>
173 gaming: ['Game Reviews', 'Let\'s Play', 'Gaming News', 'Esports', 'Game Development', 'Mobile Gaming', 'Retro Gaming', 'Gaming Hardware'],
174 education: ['Online Courses', 'Language Learning', 'Math Tutorials', 'Science Experiments', 'History Lessons', 'Study Tips', 'Test Preparation', 'Educational Kids Content'],
175 entertainment: ['Movie Reviews', 'Comedy Skits', 'Reaction Videos', 'Celebrity News', 'TV Show Recaps', 'Stand-up Comedy', 'Viral Challenges', 'Pop Culture'],
176 lifestyle: ['Home Decor', 'Organization Tips', 'Minimalism', 'Self Improvement', 'Productivity', 'Morning Routines', 'Life Hacks', 'Personal Development'],
177 fitness: ['Workout Routines', 'Nutrition Tips', 'Weight Loss', 'Yoga', 'Bodybuilding', 'Running', 'Mental Health', 'Healthy Recipes'],

TopTenVideosfree-version.html2 matches

@pmapowerUpdated 4 hours ago
81 </label>
82 <input type="text" id="customSubNiche" name="customSubNiche"
83 placeholder="e.g., React tutorials, Vegan recipes..."
84 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
85 </div>
275 gaming: ['Game Reviews', 'Let\'s Play', 'Gaming News', 'Esports', 'Game Development', 'Mobile Gaming', 'Retro Gaming', 'Gaming Hardware'],
276 education: ['Online Courses', 'Language Learning', 'Math Tutorials', 'Science Experiments', 'History Lessons', 'Study Tips', 'Test Preparation', 'Educational Kids Content'],
277 entertainment: ['Movie Reviews', 'Comedy Skits', 'Reaction Videos', 'Celebrity News', 'TV Show Recaps', 'Stand-up Comedy', 'Viral Challenges', 'Pop Culture'],
278 lifestyle: ['Home Decor', 'Organization Tips', 'Minimalism', 'Self Improvement', 'Productivity', 'Morning Routines', 'Life Hacks', 'Personal Development'],
279 fitness: ['Workout Routines', 'Nutrition Tips', 'Weight Loss', 'Yoga', 'Bodybuilding', 'Running', 'Mental Health', 'Healthy Recipes'],

TopTenVideospremium-version.html2 matches

@pmapowerUpdated 5 hours ago
129 </label>
130 <input type="text" id="customSubNiche" name="customSubNiche"
131 placeholder="e.g., React tutorials, Vegan recipes..."
132 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500">
133 </div>
436 gaming: ['Game Reviews', 'Let\'s Play', 'Gaming News', 'Esports', 'Game Development', 'Mobile Gaming', 'Retro Gaming', 'Gaming Hardware'],
437 education: ['Online Courses', 'Language Learning', 'Math Tutorials', 'Science Experiments', 'History Lessons', 'Study Tips', 'Test Preparation', 'Educational Kids Content'],
438 entertainment: ['Movie Reviews', 'Comedy Skits', 'Reaction Videos', 'Celebrity News', 'TV Show Recaps', 'Stand-up Comedy', 'Viral Challenges', 'Pop Culture'],
439 lifestyle: ['Home Decor', 'Organization Tips', 'Minimalism', 'Self Improvement', 'Productivity', 'Morning Routines', 'Life Hacks', 'Personal Development'],
440 fitness: ['Workout Routines', 'Nutrition Tips', 'Weight Loss', 'Yoga', 'Bodybuilding', 'Running', 'Mental Health', 'Healthy Recipes'],

TopTenVideosindex.html2 matches

@pmapowerUpdated 5 hours ago
59 </label>
60 <input type="text" id="customSubNiche" name="customSubNiche"
61 placeholder="e.g., React tutorials, Vegan recipes..."
62 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
63 </div>
285 'Movie Reviews',
286 'Comedy Skits',
287 'Reaction Videos',
288 'Celebrity News',
289 'TV Show Recaps',

basic-html-starterREADME.md1 match

@evermindUpdated 7 hours ago
34
35If you want more interactivity, check out this
36[React starter](https://www.val.town/x/std/reactHonoStarter).
37
38### ← favicon.svg

weatherAppmain.tsx3 matches

@dcm31Updated 13 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";
4
5const cities = [

wa-hono-react4 file matches

@nbbaierUpdated 1 day ago
react
franky47
Freelance software engineer, open-sourcerer, speaker. Building `nuqs`, a type-safe search params state manager for React.