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=820&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 8587 results for "react"(1524ms)

linkInBioTemplatemain.tsx2 matches

@vhugoobject•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4const itemStyle = {

valTownBadgeExamplemain.tsx2 matches

@jxnblk•Updated 11 months ago
1/** @jsxImportSource npm:preact */
2import valTownBadge from "https://esm.town/v/jxnblk/valTownBadge";
3import wrapper from "https://esm.town/v/jxnblk/valTownBadgeMiddleware";
4import { render } from "npm:preact-render-to-string";
5
6function handler(req: Request): Promise<Response> {

codeIconReactmain.tsx3 matches

@jxnblk•Updated 11 months ago
1/** @jsxImportSource npm:react */
2import React from "npm:react";
3
4export default function CodeIcon(props: React.SVGProps<SVGSVGElement>) {
5 return (
6 <svg

codeIconReactREADME.md1 match

@jxnblk•Updated 11 months ago
1null
2
3Migrated from folder: _LEAVE_AS_IS/badge_LEAVE_AS_IS/codeIconReact

staticChessmain.tsx2 matches

@bjenhamin4alfredolvchenki•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { Chess, Move, Square } from "npm:chess.js";
3import minify from "npm:css-simple-minifier";
4import { renderToString } from "npm:react-dom/server";
5
6class StaticChess {

reactExamplemain.tsx3 matches

@richardkaplan•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4const genSVG = (request: Request): string => {
84};
85
86export const reactExample = (request: Request) =>
87 new Response(
88 genSVG(request),

codemirrorTsBrowserREADME.md2 matches

@maxm•Updated 11 months ago
7Run an editor like so:
8```tsx
9/** @jsxImportSource https://esm.sh/react */
10import { renderToString } from "npm:react-dom/server";
11
12export default async function(req: Request): Promise<Response> {

reppmain.tsx2 matches

@maxm•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4import { blob } from "https://esm.town/v/std/blob?v=12";

animatedReadmeSVGmain.tsx3 matches

@maxm•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4const genSVG = (request: Request): string => {
84};
85
86export const reactExample = (request: Request) =>
87 new Response(
88 genSVG(request),

staticChessmain.tsx2 matches

@avkv•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { Chess, Move, Square } from "npm:chess.js";
3import minify from "npm:css-simple-minifier";
4import { renderToString } from "npm:react-dom/server";
5
6class StaticChess {

vt-discord4 file matches

@boucher•Updated 2 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 2 days ago
A web-based dice roller using React on Val Town
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