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=568&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 9503 results for "react"(1382ms)

Qrmain.tsx3 matches

@davincidreams•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import QrScanner from "https://esm.sh/qr-scanner@1.4.2";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { useRef, useState } from "https://esm.sh/react@18.2.0";
5
6function App() {

chatGPTVoiceModeClonemain.tsx3 matches

@HTKhan18•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function VoiceWaveform({ isActive, type = 'user' }) {

react_avatar_generatormain.tsx1 match

@ajax•Updated 1 month ago
1import { Avatar } from "npm:react-avatar";
2
3export default async function(req: Request): Promise<Response> {
dotcom

dotcomanalytics.tsx1 match

@jxnblk•Updated 1 month ago
1// visits
2import { DataRequest } from "https://esm.town/v/jxnblk/reactstream/index.tsx";
3
4const API = "https://jxnblk-api.web.val.run/visits";
dotcom

dotcomrss.tsx1 match

@jxnblk•Updated 1 month ago
2
3// import data from "https://blog.jxnblk.com/api/all.json" with { type: "json" };
4import type { Middleware } from "https://esm.town/v/jxnblk/reactstream/index.tsx";
5
6function generateRSSFeed(posts) {
dotcom

dotcomvantom.http.tsx2 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.3.1 */
2import { renderToStaticMarkup } from "https://esm.sh/react-dom@18.3.1/server";
3
4export const Vantom = ({
dotcom

dotcomreact-svg-to-png.tsx3 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource npm:react@18.3.1 */
2import { render as renderPNG } from "https://deno.land/x/resvg_wasm@0.2.0/mod.ts";
3import { renderToStaticMarkup } from "npm:react-dom@18.3.1/server";
4
5type SVGComponentProps = {
10const cache = new Map();
11
12export function render(Component: React.ComponentType<SVGComponentProps>, headers: any = {}) {
13 return async function(req: Request): Promise<Response> {
14 const url = new URL(req.url);

project_updates_webhookindex.tsx2 matches

@shouser•Updated 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 { type Message } from "../shared/utils.ts";
4import { App } from "./components/App.tsx";
dotcom

dotcomog-image.http.tsx2 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource npm:react@18.3.1 */
2import wrap from "npm:word-wrap";
3// make this a library
4import { render } from "./react-svg-to-png.tsx";
5import { Avatar } from "./avatar.tsx";
6import { Diagz, Tiled } from "./greebles.tsx";
dotcom

dotcomgreebles.tsx3 matches

@jxnblk•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.3.1 */
2import { type ReactNode, SVGProps } from "https://esm.sh/react@18.3.1";
3
4type IconProps = SVGProps<SVGSVGElement> & {
42
43type TiledProps = IconProps & {
44 children: ReactNode;
45 offset?: number | string;
46};

StarterPackFeeds9 file matches

@moe•Updated 6 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@texoport•Updated 1 day 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