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/$%7Burl%7D?q=react&page=1033&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 10783 results for "react"(2620ms)

linkInBioTemplatemain.tsx2 matches

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

valwriter_react_clientsideREADME.md1 match

@stevekrouse•Updated 11 months ago
8 - could also have it as a conversation as the main thing and only the diffs get applied or the whole code gets replaced, maybe tool use it the key here... which does make it seem like a custom gpt may be the better fit...
9
10Migrated from folder: Archive/valwriter_react_clientside

valTownChatGPTmain.tsx2 matches

@maxm•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import OpenAI from "npm:openai";
3import { renderToString } from "npm:react-dom/server";
4
5// This uses by personal API key, you'll need to provide your own if

chatGPTmain.tsx2 matches

@stevekrouse•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { Hono } from "npm:hono@3";
3import OpenAI from "npm:openai";
4import { renderToString } from "npm:react-dom/server";
5
6const jsxResponse = (jsx) => {

htmxGenFormsExamplemain.tsx1 match

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

sparklineSVGReactmain.tsx1 match

@stevekrouse•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2
3export function SparklineSVG({ strokeWidth, data, height, width, fill, stroke }) {

aiHonoHtmxAlpineStreamingExampleREADME.md1 match

@yawnxyz•Updated 11 months ago
2- Hono serves the frameworks, API calls, and functions
3- htmx handles ajax requests, and can very powerfully request html and other content to swap out the front-end
4- alpine handles app-like reactivity without having to always resort to server round trips
5
6Migrated from folder: Utils/ai/examples/aiHonoHtmxAlpineStreamingExample

sparklineSVGReactREADME.md1 match

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

asciiNycCamerasmain.tsx2 matches

@maxm•Updated 11 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4import valTownBadge from "https://esm.town/v/jxnblk/valTownBadge?v=16";

linkInBioTemplatemain.tsx2 matches

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

ReactNewsletter2 file matches

@shakirul•Updated 6 hours ago

StarterPackFeeds11 file matches

@moe•Updated 2 days ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
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