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=123&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 15776 results for "react"(2970ms)

osakwe1PropertyForm.tsx3 matches

@osakwe•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Property, PropertyFormData } from "../../shared/types.ts";
4
50 };
51
52 const handleSubmit = async (e: React.FormEvent) => {
53 e.preventDefault();
54

CreateBusinessCard.tsx2 matches

@Omosola_1•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import type { Business, User } from "../../shared/types.ts";
4

untitled-5794ApartmentCard.tsx3 matches

@Mac4•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Apartment, User } from "../../../shared/types.ts";
4import { formatPrice, formatAddress } from "../../../shared/utils.ts";
48 };
49
50 const handleFavoriteToggle = async (e: React.MouseEvent) => {
51 e.stopPropagation();
52

CreateBusinesses.tsx3 matches

@Omosola_1•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import BusinessCard from "../components/BusinessCard.tsx";
4import type { Business, User, BusinessFilters, PaginatedResponse, ApiResponse } from "../../shared/types.ts";
215 });
216
217 const handleSubmit = (e: React.FormEvent) => {
218 e.preventDefault();
219 if (!formData.name || !formData.description || !formData.address || !formData.location) {

osakwe1PropertyList.tsx2 matches

@osakwe•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Property } from "../../shared/types.ts";
4

untitled-5794FavoritesView.tsx2 matches

@Mac4•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Apartment, User } from "../../../shared/types.ts";
4import ApartmentCard from "../Listings/ApartmentCard.tsx";

osakwe1App.tsx2 matches

@osakwe•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import PropertyList from "./PropertyList.tsx";
4import PropertyForm from "./PropertyForm.tsx";

untitled-5794MapView.tsx2 matches

@Mac4•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Apartment } from "../../../shared/types.ts";
4

osakwe1index.tsx3 matches

@osakwe•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client?deps=react@18.2.0,react-dom@18.2.0";
4import App from "./components/App.tsx";
5

LearnEasyChat.tsx3 matches

@jibolad1•Updated 1 day ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { User, ChatMessage, ApiResponse } from "../../shared/types.ts";
4
74 };
75
76 const sendMessage = async (e: React.FormEvent) => {
77 e.preventDefault();
78 if (!selectedContact || !newMessage.trim()) return;

MiniAppStarter9 file matches

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

reactHonoStarter4 file matches

@mumokioko•Updated 19 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