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/?q=react&page=833&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 8597 results for "react"(1723ms)

generationmain.tsx2 matches

@petermillspaugh•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { generateLessonHtml } from "https://esm.town/v/petermillspaugh/lessonTemplate";
3import { renderToString } from "npm:react-dom/server";
4
5/*

elaborationAndReflectionmain.tsx2 matches

@petermillspaugh•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { generateLessonHtml } from "https://esm.town/v/petermillspaugh/lessonTemplate";
3import { renderToString } from "npm:react-dom/server";
4
5/*

variedPracticemain.tsx2 matches

@petermillspaugh•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { generateLessonHtml } from "https://esm.town/v/petermillspaugh/lessonTemplate";
3import { renderToString } from "npm:react-dom/server";
4
5/*

interleavingmain.tsx2 matches

@petermillspaugh•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { generateLessonHtml } from "https://esm.town/v/petermillspaugh/lessonTemplate";
3import { renderToString } from "npm:react-dom/server";
4
5/*

spacedRepetitionmain.tsx2 matches

@petermillspaugh•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { generateLessonHtml } from "https://esm.town/v/petermillspaugh/lessonTemplate";
3import { renderToString } from "npm:react-dom/server";
4
5const TITLE = "Spaced repetition";

add_to_notion_w_ai_webpagemain.tsx2 matches

@nerdymomocat•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { blob } from "https://esm.town/v/std/blob";
3import process from "node:process";
5import { Client } from "npm:@notionhq/client";
6import OpenAI from "npm:openai";
7import { render } from "npm:preact-render-to-string";
8import { z } from "npm:zod";
9

remarkmain.tsx2 matches

@stevekrouse•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4export const remark = ({ title, content }) => async (req: Request) =>

react_maplibremain.tsx2 matches

@hfu•Updated 1 year ago
1import React from "npm:react";
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

react_maplibreREADME.md1 match

@hfu•Updated 1 year ago
1# React MapLibre GL JS example
2Thanks: @yuiseki

untitled_beigeLemurmain.tsx6 matches

@yuiseki•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import * as React from "npm:react";
3/** @jsxImportSource https://esm.sh/react */
4import { renderToString } from "npm:react-dom/server";
5
6import { Map } from "https://esm.sh/react-map-gl@7.1.7/maplibre";
7
8const MyMap: React.FC = () => {
9 return (
10 <Map

vt-discord4 file matches

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

diceRollerUI1 file match

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