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/$%7Bart_info.art.src%7D?q=react&page=1187&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 16325 results for "react"(4031ms)

denoVite

denoVitedeno.json8 matches

@maxm•Updated 2 months ago
8 "compilerOptions": {
9 "lib": ["ES2020", "DOM", "DOM.Iterable"],
10 "jsx": "react-jsx",
11 "jsxImportSource": "react",
12 "jsxImportSourceTypes": "@types/react"
13 },
14 "imports": {
15 "@deno/vite-plugin": "npm:@deno/vite-plugin@^1.0.4",
16 "@types/react": "npm:@types/react@^19.0.10",
17 "@types/react-dom": "npm:@types/react-dom@^19.0.4",
18 "@vitejs/plugin-react": "npm:@vitejs/plugin-react@^4.3.4",
19 "react": "npm:react@^19.0.0",
20 "react-dom": "npm:react-dom@^19.0.0",
21 "vite": "npm:vite@^6.1.1"
22 }
denoVite

denoVitevite.config.ts2 matches

@maxm•Updated 2 months ago
1import { defineConfig } from 'vite'
2import deno from '@deno/vite-plugin'
3import react from '@vitejs/plugin-react'
4
5// https://vite.dev/config/
6export default defineConfig({
7 plugins: [deno(), react()],
8})
9
denoVite

denoViteindex.html1 match

@maxm•Updated 2 months ago
5 <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>Vite + React + TS</title>
8 </head>
9 <body>
denoVite

denoVitedeno.lock23 matches

@maxm•Updated 2 months ago
3 "specifiers": {
4 "npm:@deno/vite-plugin@^1.0.4": "1.0.4_vite@6.2.3",
5 "npm:@types/react-dom@^19.0.4": "19.0.4_@types+react@19.0.10",
6 "npm:@types/react@^19.0.10": "19.0.10",
7 "npm:@vitejs/plugin-react@^4.3.4": "4.3.4_vite@6.2.3_@babel+core@7.26.10",
8 "npm:react-dom@19": "19.0.0_react@19.0.0",
9 "npm:react@19": "19.0.0",
10 "npm:vite@*": "6.2.3",
11 "npm:vite@^6.1.1": "6.2.3"
111 ]
112 },
113 "@babel/plugin-transform-react-jsx-self@7.25.9_@babel+core@7.26.10": {
114 "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==",
115 "dependencies": [
118 ]
119 },
120 "@babel/plugin-transform-react-jsx-source@7.25.9_@babel+core@7.26.10": {
121 "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==",
122 "dependencies": [
349 "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw=="
350 },
351 "@types/react-dom@19.0.4_@types+react@19.0.10": {
352 "integrity": "sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==",
353 "dependencies": [
354 "@types/react"
355 ]
356 },
357 "@types/react@19.0.10": {
358 "integrity": "sha512-JuRQ9KXLEjaUNjTWpzuR231Z2WpIwczOkBEIvbHNCzQefFIT0L8IqE6NV6ULLyC1SI/i234JnDoMkfg+RjQj2g==",
359 "dependencies": [
361 ]
362 },
363 "@vitejs/plugin-react@4.3.4_vite@6.2.3_@babel+core@7.26.10": {
364 "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==",
365 "dependencies": [
366 "@babel/core",
367 "@babel/plugin-transform-react-jsx-self",
368 "@babel/plugin-transform-react-jsx-source",
369 "@types/babel__core",
370 "react-refresh",
371 "vite"
372 ]
476 ]
477 },
478 "react-dom@19.0.0_react@19.0.0": {
479 "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==",
480 "dependencies": [
481 "react",
482 "scheduler"
483 ]
484 },
485 "react-refresh@0.14.2": {
486 "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA=="
487 },
488 "react@19.0.0": {
489 "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ=="
490 },
549 "dependencies": [
550 "npm:@deno/vite-plugin@^1.0.4",
551 "npm:@types/react-dom@^19.0.4",
552 "npm:@types/react@^19.0.10",
553 "npm:@vitejs/plugin-react@^4.3.4",
554 "npm:react-dom@19",
555 "npm:react@19",
556 "npm:vite@^6.1.1"
557 ]

forkyindex.tsx2 matches

@charmaine•Updated 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

forkyindex.html1 match

@charmaine•Updated 2 months ago
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>React Hono Val Town Starter</title>
7 <script src="https://cdn.tailwindcss.com"></script>
8 <link rel="icon" href="/public/favicon.svg" sizes="any" type="image/svg+xml">

forkyApp.tsx2 matches

@charmaine•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4export function App() {
react-spa-starter

react-spa-starterhttp.tsx1 match

@jxnblk•Updated 2 months ago
4<html>
5 <head>
6 <title>React SPA Starter</title>
7 <head>
8 <body>
react-spa-starter

react-spa-starterclient.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { createRoot } from "https://esm.sh/react-dom/client";
3import App from "./App.tsx";
4
react-spa-starter

react-spa-starterApp.tsx3 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { useState } from "https://esm.sh/react";
3
4export default function App () {
7 return (
8 <div>
9 <h1>React SPA Starter</h1>
10 <pre>{count}</pre>
11 <button onClick={() => setCount(c => c + 1)}>count++</button>

reactHonoStarter4 file matches

@halfstack•Updated 1 day ago

MiniAppStarter10 file matches

@moe•Updated 1 day ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
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