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=127&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 16233 results for "react"(1023ms)

openai_enrichment.cursorrules6 matches

@charmaine•Updated 5 days ago
189- **Imports:** Use `https://esm.sh` for npm and Deno dependencies to ensure compatibility on server and browser
190- **Storage Strategy:** Only use backend storage if explicitly required; prefer simple static client-side sites
191- **React Configuration:** When using React libraries, pin versions with `?deps=react@18.2.0,react-dom@18.2.0` and start the file with `/** @jsxImportSource https://esm.sh/react@18.2.0 */`
192- Ensure all React dependencies and sub-dependencies are pinned to the same version
193- **Styling:** Default to using TailwindCSS via `<script src="https://cdn.twind.style" crossorigin></script>` unless otherwise specified
194
275 - Always run table creation before querying
276
2773. **React Configuration:**
278 - All React dependencies must be pinned to 18.2.0
279 - Always include `@jsxImportSource https://esm.sh/react@18.2.0` at the top of React files
280 - Rendering issues often come from mismatched React versions
281
2824. **File Handling:**

linkInBioTemplatemain.tsx2 matches

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

DrugAppmain.tsx2 matches

@nuella•Updated 5 days ago
4
5-
6- react
7- react-dom
8- @shopify/polaris

AtaGeelinkInBioTemplatemain.tsx2 matches

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

linkInBioTemplatemain.tsx2 matches

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

linkInBioTemplatemain.tsx2 matches

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

kevinbetREADME.md1 match

@kibet•Updated 5 days ago
36
37- **Backend**: Hono (TypeScript API framework)
38- **Frontend**: React with TypeScript
39- **Database**: SQLite
40- **Styling**: TailwindCSS

TownieValTownLogo.tsx1 match

@Iris•Updated 5 days ago
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
2
3export function ValTownLogo () {

TownieuseUser.tsx1 match

@Iris•Updated 5 days ago
1import { useState, useEffect } from "react";
2
3const USER_ENDPOINT = "/api/user";

TownieuseUsageStats.ts1 match

@Iris•Updated 5 days ago
1import { useEffect } from "react";
2
3export function useUsageStats(messages: any[], usages: any[]) {

reactHonoStarter4 file matches

@halfstack•Updated 7 hours ago

MiniAppStarter10 file matches

@moe•Updated 9 hours 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