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=8&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 9061 results for "react"(1279ms)

image-inpaintingmain.tsx3 matches

@themichaellai•Updated 4 hours ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4// import { h } from "npm:preact";
5import { HTML } from "./html.tsx";
6

image-inpaintingApp.tsx3 matches

@themichaellai•Updated 4 hours ago
1/** @jsxImportSource preact */
2// import { h } from "preact";
3import { useEffect, useRef, useState } from "npm:preact/hooks";
4
5export default function App() {

image-inpaintinghtml.tsx8 matches

@themichaellai•Updated 4 hours ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4// import { h } from "preact";
5
6export function HTML() {
20 </style>
21
22 {/* Import-map so the browser can import Preact & friends */}
23 <script type="importmap">
24 {`{
25 "imports": {
26 "preact": "https://esm.sh/preact@10.19.2",
27 "preact/hooks": "https://esm.sh/preact@10.19.2/hooks",
28 "preact-render-to-string": "https://esm.sh/preact-render-to-string@6.4.2"
29 }
30 }`}
34 <body>
35 <div id="app"></div>
36 {/* Client bundle that hydrates the Preact app */}
37 <script type="module" src="./client.ts"></script>
38 </body>

image-inpaintingclient.ts3 matches

@themichaellai•Updated 4 hours ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4// import { h, render } from "preact";
5import App from "./App.tsx";
6

eink-frame-remixweather.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import GetWeather, { type WEATHER_FORECAST } from "../api/weather.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-frame-remixnews.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server/";
4import GetNews from "../api/news.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-frame-remixindex.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import { Header } from "./components.tsx";
5import hemolog from "./frames/hemolog.tsx";

eink-frame-remixhemolog.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import GetLogs, { type HEMOLOG_TREATMENT } from "../api/hemolog.ts";
5import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";

eink-frame-remixfontsTest.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4import { BodyWrapper, Content, Footer, Header, Headline } from "../components.tsx";
5

eink-frame-remixcomponents.tsx3 matches

@charmaine•Updated 5 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { type ReactNode } from "https://esm.sh/react";
3import { renderToString } from "https://esm.sh/react-dom/server";
4
5// Display components can be used to change the look and feel of each frame.

vt-discord4 file matches

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

diceRollerUI1 file match

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