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=861&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 9063 results for "react"(3652ms)

statusmain.tsx3 matches

@adrianmg•Updated 10 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 }) {

purpleKangaroomain.tsx2 matches

@willthereader•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4
5// This uses by personal API key, you'll need to provide your own if

chocolateCanidmain.tsx2 matches

@willthereader•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { OpenAI } from "https://esm.town/v/std/openai";
3import { Hono } from "npm:hono@3";
4import { renderToString } from "npm:react-dom/server";
5
6const openai = new OpenAI();

coralCarpmain.tsx2 matches

@willthereader•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

emeraldRaccoonmain.tsx2 matches

@willthereader•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

valTownChatGPTmain.tsx2 matches

@willthereader•Updated 10 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4const openai = new OpenAI();
5import { Hono } from "npm:hono@3";

translatemain.tsx1 match

@yawnxyz•Updated 10 months ago
33 <script src="https://cdn.tailwindcss.com/"></script>
34 <script type="module">
35 import { html, Component, render } from "https://cdn.cbd.int/htm/preact/standalone.module.js";
36 import { ofetch } from "https://esm.sh/ofetch/dist/index.mjs";
37 import { z } from "https://esm.sh/zod";

honoAlpineHtmxDemomain.tsx1 match

@yawnxyz•Updated 10 months ago
18<head>
19 <meta charset="UTF-8">
20 <title>Reactive Form with Alpine.js</title>
21 <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
22 <script defer src="https://unpkg.com/htmx.org"></script>

honoAlpineHtmxDemoREADME.md2 matches

@yawnxyz•Updated 10 months ago
1This example shows how Hono, Alpine, and Htmx can play together.
2- Alpine is great at reactive client-side updates
3- Htmx is great at sending/receiving content from server
4- These two can be combined for reactive clients plus easy AJAX
5
6Migrated from folder: Experiments/HAT_Stack/honoAlpineHtmxDemo

honoAlpineExamplemain.tsx1 match

@yawnxyz•Updated 10 months ago
18<head>
19 <meta charset="UTF-8">
20 <title>Reactive Form with Alpine.js</title>
21 <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
22 <script defer src="https://unpkg.com/htmx.org"></script>

vt-discord4 file matches

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

diceRollerUI1 file match

@dcm31•Updated 4 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