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/?q=react&page=513&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 9182 results for "react"(662ms)

reactHonoExample_toowiredApp.tsx1 match

@toowiredUpdated 1 month ago
1import { useEffect, useState } from "react";
2import { MessageInput } from "./MessageInput";
3

linkInBioTemplatemain.tsx3 matches

@Blakekug13Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const GAMES = [

uwnbwocked_gamzmain.tsx2 matches

@Blakekug13Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4<body>

poorvis885README.md1 match

@poorvis885Updated 1 month ago
11🛠️ Tech Stack
12
13Frontend: React 18, TailwindCSS
14APIs: Open-Meteo, OpenAI GPT-4o
15Hosting: ESM-based module imports

poorvis885main.tsx3 matches

@poorvis885Updated 1 month 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() {

weatherDashboardmain.tsx3 matches

@poorvis885Updated 1 month 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() {

weatherDashboardREADME.md1 match

@poorvis885Updated 1 month ago
11🛠️ Tech Stack
12
13Frontend: React 18, TailwindCSS
14APIs: Open-Meteo, OpenAI GPT-4o
15Hosting: ESM-based module imports

valentinemain.tsx3 matches

@dhashnamoorthyUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
4
5const NO_PHRASES = [

weatherDashboardmain.tsx3 matches

@dhashnamoorthyUpdated 1 month 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
5function WeatherDashboard() {

kanbanTestmain.tsx14 matches

@arfanUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { DragDropContext, Draggable, Droppable } from "https://esm.sh/react-beautiful-dnd@13.1.1?deps=react@18.2.0";
3import ReactDOM from "https://esm.sh/react-dom@18.2.0";
4import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
5
6// Configuration
431}
432
433// Error Boundary component to catch and display React errors
434class ErrorBoundary extends React.Component {
435 constructor(props) {
436 super(props);
519 <body class="bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100">
520 <script type="module">
521 import React from 'https://esm.sh/react@18.2.0';
522 import ReactDOM from 'https://esm.sh/react-dom@18.2.0';
523 import { createRoot } from 'https://esm.sh/react-dom@18.2.0/client';
524 import { DragDropContext, Draggable, Droppable } from "https://esm.sh/react-beautiful-dnd@13.1.1?deps=react@18.2.0";
525 import * as _jsx_runtime from 'https://esm.sh/react@18.2.0/jsx-runtime';
526 window.React = React;
527 window.ReactDOM = ReactDOM;
528 window._jsx_runtime = _jsx_runtime;
529
534 const root = document.getElementById("root");
535 if (root) {
536 createRoot(root).render(React.createElement(ErrorBoundary, null, React.createElement(TaskBoard)));
537 }
538 }

IClickWolf4 file matches

@vtTestLocalUpdated 10 hours ago
Starter template with client-side React & Hono server

vt-discord4 file matches

@boucherUpdated 5 days ago
Starter template with client-side React & Hono server
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