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/$%7Bart_info.art.src%7D?q=react&page=751&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 9721 results for "react"(1920ms)

statussparklineSVG1 match

@hodge•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2export function SparklineSVG({ strokeWidth = 2, data = [], fill = "none", stroke = "black" }) {
3 const padding = 2;

codemirrorTsdemo2 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3import { importMap } from "./importMap";
4export default async function(req: Request): Promise<Response> {

allTheFrontendBackendPatternshttp2 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource npm:react */
2import { renderToString } from "npm:react-dom/server";
3let counter = 0;
4export default async function(req: Request): Promise<Response> {

charmainesStatusstatus2 matches

@charmaine•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { sqlite } from "https://esm.town/v/std/sqlite?v=6";
3import { html } from "https://esm.town/v/stevekrouse/html";
4import { renderToString } from "npm:react-dom@18.2.0/server";
5import config from "./config.json" with { type: "json" };
6import { SparklineSVG } from "./sparklineSVG";

allTheFrontendBackendPatternshttp3 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useState } from "https://esm.sh/react@18.2.0";
4
5function Counter() {

allTheFrontendBackendPatternsfrontend.ts4 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5function App() {
8 <div>
9 <style>{`body { font-family: sans-serif; }`}</style>
10 <h1>React Component!</h1>
11 <p>You clicked {count} times</p>
12 <button onClick={() => setCount(count + 1)}>

charmainesStatussparklineSVG1 match

@charmaine•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2export function SparklineSVG({ strokeWidth = 2, data = [], fill = "none", stroke = "black" }) {
3 const padding = 2;

allTheFrontendBackendPatternshttpReact2 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource npm:react */
2import { renderToString } from "npm:react-dom/server";
3export default async function(req: Request): Promise<Response> {
4 return new Response(

logmeinmw2 matches

@maxm•Updated 3 months ago
1/** @jsxImportSource npm:react */
2import { extractProjectValInfo } from "https://esm.town/v/maxm/extractProjectValInfo";
3import { renderToString } from "npm:react-dom/server";
4import { type Config, DB } from "./db";
5import { getSessionKey, setSession } from "./sessionCookie";
status

statussparklineSVG1 match

@stevekrouse•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2export function SparklineSVG({ strokeWidth = 2, data = [], fill = "none", stroke = "black" }) {
3 const padding = 2;

StarterPackFeeds10 file matches

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

reactHonoStarter4 file matches

@deboneil07•Updated 9 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