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=864&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"(3635ms)

dateme_layout_reactREADME.md1 match

@stevekrouse•Updated 11 months ago
1Migrated from folder: Archive/dateme_react_router_rewrite/dateme_layout_react

dateme_home_reactREADME.md1 match

@stevekrouse•Updated 11 months ago
1Migrated from folder: Archive/dateme_react_router_rewrite/dateme_home_react

dateme_routerREADME.md1 match

@stevekrouse•Updated 11 months ago
1Migrated from folder: Archive/dateme_react_router_rewrite/dateme_router

dateme_react_clientREADME.md1 match

@stevekrouse•Updated 11 months ago
25
26
27Migrated from folder: Archive/dateme_react_router_rewrite/dateme_react_client

tldrawReactExportScriptmain.tsx2 matches

@tfayyaz•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3import { Tldraw } from "https://esm.sh/tldraw@2.1.0";
4

litExampleREADME.md1 match

@triptych•Updated 11 months ago
1# lit
2
3[Lit](https://lit.dev/docs/ssr/server-usage/) is kind of like Google's answer to React: it's a little more reliant on browser APIs like custom elements and the shadow DOM, a little less 'magic', like using JSX.
4
5This is an example of using Lit and rendering it straight to a string, which is something that's recently popular. It works pretty well, right off the bat: Lit provides nice ESM modules and a pretty smooth workflow!

valTownChatGPTmain.tsx2 matches

@stevekrouse•Updated 11 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";

biomain.tsx2 matches

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

redPrimatemain.tsx2 matches

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

htmxCounterExamplemain.tsx1 match

@yawnxyz•Updated 11 months ago
2
3/** @jsx jsx */
4import { renderToString } from "npm:react-dom/server";
5
6import { jsx } from "https://deno.land/x/hono@v3.11.7/middleware.ts";

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