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/$%7Bsuccess?q=react&page=860&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 9180 results for "react"(2713ms)

valleCodemirrormain.tsx1 match

@janpaul123•Updated 9 months ago
68 target: ts.ScriptTarget.ESNext,
69 module: ts.ModuleKind.ESNext,
70 jsx: ts.JsxEmit.React,
71 lib: ["esnext", "dom"],
72 moduleDetection: ModuleDetectionKind.Force,

linkInBioTemplatemain.tsx2 matches

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

hardwarebingomain.tsx4 matches

@stevekrouse•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { renderToString } from "https://esm.sh/react-dom/server";
5import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
6

arctangent2024main.tsx2 matches

@aleaf•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4const lineup = [

mythBusterGraduationEditionmain.tsx2 matches

@willthereader•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4export default async function(req: Request) {

getValsContextWindowDebugmain.tsx3 matches

@janpaul123•Updated 9 months ago
1// This val renders the output of "janpaul123/getValsContextWindow" as HTML
2// It uses React for rendering and includes a <select> for the "model" option
3// The approach is to fetch the context window data, then render it as an interactive HTML page
4
5/** @jsxImportSource https://esm.sh/react */
6import { renderToString } from "npm:react-dom/server";
7import getValsContextWindow from "https://esm.town/v/janpaul123/getValsContextWindow";
8import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";

codemirrorTsBrowserEmacsmain.tsx1 match

@saolsen•Updated 9 months ago
62 target: ts.ScriptTarget.ESNext,
63 module: ts.ModuleKind.ESNext,
64 jsx: ts.JsxEmit.React,
65 lib: ["esnext", "dom"],
66 moduleDetection: ModuleDetectionKind.Force,

shotclipmain.tsx2 matches

@kortina•Updated 9 months ago
1/** @jsxImportSource npm:react **/
2/** kortina
3import process from "node:process";
4import { renderToString } from "npm:react-dom@18/server";
5import { QueryVectorStore, sb, Substrate } from "npm:substrate";
6

VALLErunmain.tsx2 matches

@roadlabs•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import archiveVal from "https://esm.town/v/nbbaier/archiveVal?v=10";
13import { Hono } from "npm:hono@3";
14import _ from "npm:lodash@4";
15import { renderToString } from "npm:react-dom/server";
16
17export default function(

azureCheetahmain.tsx2 matches

@tmcw•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import archiveVal from "https://esm.town/v/nbbaier/archiveVal?v=10";
14import { Hono } from "npm:hono@3";
15import _ from "npm:lodash@4";
16import { renderToString } from "npm:react-dom/server";
17
18export default function(

IClickWolf4 file matches

@vtTestLocal•Updated 2 hours ago
Starter template with client-side React & Hono server

vt-discord4 file matches

@boucher•Updated 4 days ago
Starter template with client-side React & Hono server
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