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=918&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 9424 results for "react"(2467ms)

reactExampleREADME.md1 match

@stevekrouse•Updated 1 year ago
1Migrated from folder: Archive/docsExamples/jsx/reactExample

reactExamplemain.tsx3 matches

@stevekrouse•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export const reactExample = () =>
5 new Response(renderToString(<div>Test {1 + 1}</div>), {
6 headers: {

preactExamplemain.tsx3 matches

@stevekrouse•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4export const preactExample = () =>
5 new Response(render(<div>Test {1 + 1}</div>), {
6 headers: {

preactExampleREADME.md1 match

@stevekrouse•Updated 1 year ago
1Migrated from folder: Archive/docsExamples/jsx/preactExample

preactmain.tsx2 matches

@stevekrouse•Updated 1 year ago
1import { html } from "https://esm.town/v/stevekrouse/html";
2import { render } from "npm:preact-render-to-string";
3
4export let preact = jsx => html(render(jsx));

preactREADME.md1 match

@stevekrouse•Updated 1 year ago
1Migrated from folder: Archive/docsExamples/scriptTag/preact

htmxExamplemain.tsx1 match

@neverstew•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { html } from "https://esm.town/v/neverstew/html";
3import { Hono } from "npm:hono";

htmlResponsemain.tsx1 match

@neverstew•Updated 1 year ago
1import { html } from "https://esm.town/v/neverstew/html";
2import type { VNode } from "npm:preact";
3
4export const htmlResponse = (htmlNode: VNode, options?: ResponseInit) =>

untitled_674cf68fmain.tsx1 match

@neverstew•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { htmlResponse } from "https://esm.town/v/neverstew/htmlResponse";
3

someDommain.tsx2 matches

@stevekrouse•Updated 1 year ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4const x = 1;

new_website

@wolf•Updated 21 hours ago
Starter template with client-side React & Hono server

IClickWolf4 file matches

@vtTestLocal•Updated 3 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