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/$%7Burl%7D?q=react&page=4&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 17469 results for "react"(4886ms)

ChatEnhancedCommandPalette.tsx2 matches

@c15r•Updated 7 hours 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";

TownieValTownLogo.tsx1 match

@ianmenethil•Updated 9 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
2
3export function ValTownLogo () {

TownieuseUser.tsx1 match

@ianmenethil•Updated 9 hours ago
1import { useState, useEffect } from "react";
2
3const USER_ENDPOINT = "/api/user";

TownieuseUsageStats.ts1 match

@ianmenethil•Updated 9 hours ago
1import { useEffect } from "react";
2
3export function useUsageStats(messages: any[], usages: any[]) {

TownieuseScrollToBottom.tsx1 match

@ianmenethil•Updated 9 hours ago
1import { useEffect, useRef } from 'https://esm.sh/react@18.2.0?dev';
2
3

TownieuseProject.tsx1 match

@ianmenethil•Updated 9 hours ago
1import { useState, useEffect } from "react";
2
3const PROJECT_ENDPOINT = "/api/project";

TownieuseProjects.tsx1 match

@ianmenethil•Updated 9 hours ago
1import { useState, useEffect } from "react";
2
3const ENDPOINT = "/api/projects-loader";

TownieuseLoadingFavicon.ts1 match

@ianmenethil•Updated 9 hours ago
1import { useEffect } from "react";
2
3function setLoadingFavicon() {

TownieuseCreditBalance.tsx2 matches

@ianmenethil•Updated 9 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState, useEffect } from "react";
3
4export function useCreditBalance() {

TownieuseCreateProject.tsx1 match

@ianmenethil•Updated 9 hours ago
1import { useState, useEffect } from "react";
2
3const ENDPOINT = "/api/create-project";

reactHonoStarter4 file matches

@anup_d911•Updated 21 hours ago

MiniAppStarter11 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