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=899&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 13599 results for "react"(2730ms)

townieIllustratorPromptmain.tsx4 matches

@jsumnersmith•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function App() {
17 }
18
19 async function sendMessage(e: React.FormEvent) {
20 e.preventDefault();
21 await fetch("/messages", {

shrewdSalmonWhippetmain.tsx2 matches

@LINUS•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 **/
2import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
3
4export default (req: Request) => {

dndoodlemain.tsx4 matches

@csl_•Updated 2 months ago
3 * and a checkbox for users to indicate if they are the DM. The DM's availability is treated as special
4 * and is displayed differently in the results view.
5 * The app uses React for the frontend and SQLite for data persistence.
6 * It features improved styling, interactive elements, and email functionality.
7 */
8
9/** @jsxImportSource https://esm.sh/react */
10import { addDays, format, parse } from "https://esm.sh/date-fns";
11import React, { useEffect, useState } from "https://esm.sh/react";
12import { createRoot } from "https://esm.sh/react-dom/client";
13
14function App() {

customFontDemomain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Using jsDelivr CDN for the new font file

superCopperBisonmain.tsx5 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useRef, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { BallpointPenCard } from "https://esm.town/v/dcm31/ballpointPenCard?deps=react@18.2.0";
5import { MarkerPenCard } from "https://esm.town/v/dcm31/markerPenCard?deps=react@18.2.0";
6
7function FontAndCardShowcase() {

Emailswebmail3 matches

@avycado13•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/preact@10.19.2 */
2import { render } from "https://esm.sh/preact-render-to-string@6.2.0";
3import { h } from "https://esm.sh/preact@10.19.2";
4import { sqlite } from "https://esm.town/v/std/sqlite";
5

Custommadefansmain.tsx3 matches

@JerryA•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useCallback } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Styles for luxurious design

energycommunityshowcasemain.tsx3 matches

@nikko•Updated 2 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 EnergyCommunityApp() {

UTC_Memain.tsx3 matches

@hunterparks•Updated 2 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() {

logoWorkshop_migratedmain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const SimpleLogoGenerator = () => {

reactHonoStarter3 file matches

@angeltapes•Updated 16 hours ago
Website experiment

reactHonoStarter4 file matches

@notmart•Updated 2 days 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