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=497&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 15910 results for "react"(1724ms)

e-comm-testAuthContext.jsx3 matches

@charleswebmaster•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4import { createContext, useContext, useState } from "react";
5
6const AuthContext = createContext();

e-comm-testProductList.jsx3 matches

@charleswebmaster•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4import { Button } from "react-bootstrap";
5
6const ProductList = ({ products, onUpdate }) => {

e-comm-testProductForm.jsx2 matches

@charleswebmaster•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4import { ErrorMessage, Field, Form, Formik } from "formik";

e-comm-testProductFilters.jsx3 matches

@charleswebmaster•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4import { Form } from "react-bootstrap";
5
6const ProductFilters = ({ filters, onFilterChange }) => {

e-comm-testPagination.jsx2 matches

@charleswebmaster•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { renderToString } from "npm:react-dom@18.2.0/server";
3
4const Pagination = ({ currentPage, totalPages, onPageChange }) => {

my-blogSocialLinks.tsx1 match

@iamvikeshtiwari•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { BlueskyIcon, DiscordIcon, GitHubIcon, RSSIcon, TwitterIcon } from "./icons.tsx";
3

my-blogREADME.md2 matches

@iamvikeshtiwari•Updated 2 weeks ago
20
21- **`/index.ts`**: Main entry point that sets up Hono routing and middleware
22- **`/components/`**: React components for rendering the blog
23 - **`Layout.tsx`**: Shared layout with header, footer, and styling
24 - **`HomePage.tsx`**: Renders the blog homepage with featured and recent posts
37### Technical Stack
38
39- **React**: For server-side rendering components
40- **Hono**: Lightweight web framework for routing
41- **Custom CSS**: For styling (no external frameworks)

my-blogOGImage.tsx2 matches

@iamvikeshtiwari•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import wrap from "https://esm.sh/word-wrap@1.2.5";
3
7 title = "Val Town Blog",
8 ...props
9}: React.SVGProps<SVGSVGElement> & {
10 title?: string;
11}) {

my-blogog-image.ts2 matches

@iamvikeshtiwari•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { render as renderPNG } from "https://deno.land/x/resvg_wasm@0.2.0/mod.ts";
3import { Hono } from "https://esm.sh/hono@3.12.0";
4import { renderToStaticMarkup } from "https://esm.sh/react-dom@18.2.0/server";
5import OGImage from "../components/OGImage.tsx";
6

my-blogLogo.tsx2 matches

@iamvikeshtiwari•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3export default function (props: React.SVGProps<SVGSVGElement>) {
4 return (
5 <svg

MiniAppStarter10 file matches

@moe•Updated 15 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

ReactHonoStarterTests4 file matches

@wolf•Updated 16 hours ago
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