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=25&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 17403 results for "react"(1282ms)

examplePreactWebApp2 file matches

@easrng•Updated 1 year ago

ChatEnhancedCommandPalette.tsx2 matches

@c15r•Updated 24 mins 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";
4import { MCPClientPool } from "../utils/mcpClientPool.ts";

ChatStreamingChat.tsx3 matches

@c15r•Updated 25 mins 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";
255 };
256
257 const handleKeyDown = (e: React.KeyboardEvent) => {
258 // Don't handle keys when command palette is managing them
259 if (showCommandPalette) {
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