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=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 16978 results for "react"(4311ms)

factoid-triviaLeaderboard.tsx2 matches

@bmitchinsonUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from 'https://esm.sh/react@18.2.0';
3
4interface LeaderboardProps {

factoid-triviaGameRound.tsx2 matches

@bmitchinsonUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from 'https://esm.sh/react@18.2.0';
3import type { GameRound, User, Vote } from '../../shared/types.ts';
4

factoid-triviaFactEntry.tsx3 matches

@bmitchinsonUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from 'https://esm.sh/react@18.2.0';
3
4interface FactEntryProps {
11 const [fact, setFact] = useState('');
12
13 const handleSubmit = (e: React.FormEvent) => {
14 e.preventDefault();
15 if (fact.trim() && !isSubmitting) {

factoid-triviaUserList.tsx2 matches

@bmitchinsonUpdated 1 day 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

factoid-triviaNameEntry.tsx3 matches

@bmitchinsonUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from 'https://esm.sh/react@18.2.0';
3
4interface NameEntryProps {
11 const [name, setName] = useState('');
12
13 const handleSubmit = (e: React.FormEvent) => {
14 e.preventDefault();
15 if (name.trim() && !isConnecting) {

factoid-triviaindex.tsx3 matches

@bmitchinsonUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from 'https://esm.sh/react@18.2.0';
3import { createRoot } from 'https://esm.sh/react-dom@18.2.0/client';
4import { App } from './components/App.tsx';
5

ChatEnhancedCommandPalette.tsx2 matches

@c15rUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useCallback, useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
3import { MCPClient } from "../utils/MCPClient.ts";
4

ChatStreamingChat.tsx3 matches

@c15rUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useCallback, useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
3import EnhancedCommandPalette from "./EnhancedCommandPalette.tsx";
4import MessageComponent from "./Message.tsx";
233 };
234
235 const handleKeyDown = (e: React.KeyboardEvent) => {
236 // Don't handle keys when command palette is managing them
237 if (showCommandPalette) {

basic-html-starterREADME.md1 match

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

ChatApp.tsx2 matches

@c15rUpdated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
3import { MCPServerConfig } from "../../shared/types.ts";
4import useMCPClients from "../hooks/useMCPClients.tsx";

tanstackReactHonoExample10 file matches

@neverstewUpdated 7 hours ago

reactHonoStarter4 file matches

@lanlyUpdated 22 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