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/image-url.jpg%20%22Optional%20title%22?q=react&page=872&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"(955ms)

weirdOneUptimemain.tsx3 matches

@zicklag•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { sqlite } from "https://esm.town/v/std/sqlite?v=6";
3import { html } from "https://esm.town/v/stevekrouse/html";
4import { SparklineSVG } from "https://esm.town/v/stevekrouse/sparklineSVGReact";
5import { renderToString } from "npm:react-dom/server";
6
7function StatusRow({ rows }) {

rottenMoccasinHamstermain.tsx2 matches

@aaronvg•Updated 7 months ago
1/** @jsxImportSource npm:react **/
2import { renderToString } from "npm:react-dom@18/server";
3
4export default (req: Request) => {

Badge_Generatormain.tsx7 matches

@muhammad_owais_warsi•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { renderToString } from "https://esm.sh/react-dom/server";
5
6function Badge({ username, title }) {
39
40function App() {
41 const [username, setUsername] = React.useState("");
42 const [title, setTitle] = React.useState("");
43 const [embedCode, setEmbedCode] = React.useState("");
44
45 const generateEmbedCode = () => {

Whatsapp_Sendmain.tsx3 matches

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

iframeGridInfinitemain.tsx3 matches

@maxm•Updated 7 months ago
4 */
5
6/** @jsxImportSource https://esm.sh/react */
7import React, { useState, useEffect, useRef } from "https://esm.sh/react";
8import { createRoot } from "https://esm.sh/react-dom/client";
9
10function Modal({ onClose }) {

drumMachinemain.tsx3 matches

@mo3ly•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useRef, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5const STEPS = 16;

looseTomatoCougarmain.tsx3 matches

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

datetimeFormatterToolmain.tsx3 matches

@maxencelav•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { format, parseISO } from "https://esm.sh/date-fns";
5

drumMachinemain.tsx3 matches

@sedson•Updated 7 months ago
6//
7
8/** @jsxImportSource https://esm.sh/react */
9import React, { useEffect, useRef, useState } from "https://esm.sh/react";
10import { createRoot } from "https://esm.sh/react-dom/client";
11
12const STEPS = 16;

broadRedMarmosetmain.tsx4 matches

@willthereader•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4// first stable version is v22
5function App() {
67
68function client() {
69 console.log("Initializing client-side React application");
70 createRoot(document.getElementById("root")).render(<App />);
71}

StarterPackFeeds9 file matches

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