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=519&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 9297 results for "react"(859ms)

visibleHarlequinElephantmain.tsx2 matches

@MayowaSolomonโ€ขUpdated 1 month ago
1Mayowa Solomon/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

My_Schedulermain.tsx3 matches

@shirahhโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5function App() {

linkInBioTemplatemain.tsx2 matches

@MayowaSolomonโ€ขUpdated 1 month ago
1Mayowa Solomon/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

Universitypropertyhubmain.tsx5 matches

@Green_gucciโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5interface Property {
30 const [image, setImage] = useState<File | null>(null);
31
32 const handleSubmit = async (e: React.FormEvent) => {
33 e.preventDefault();
34 const formData = new FormData();
209 }, []);
210
211 const sendMessage = async (e: React.FormEvent) => {
212 e.preventDefault();
213 if (!newMessage.trim()) return;

methodicalFuchsiaOxmain.tsx3 matches

@Phinehasโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useCallback } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const LANGUAGES = [

testmar24README.md4 matches

@charmaineโ€ขUpdated 1 month ago
1# Todo List App
2
3A simple todo list application built for Val Town using React, Hono, and SQLite.
4
5## Features
20โ”œโ”€โ”€ frontend/
21โ”‚ โ”œโ”€โ”€ components/
22โ”‚ โ”‚ โ””โ”€โ”€ App.tsx # Main React component
23โ”‚ โ”œโ”€โ”€ index.html # HTML template
24โ”‚ โ””โ”€โ”€ index.tsx # React entry point
25โ””โ”€โ”€ shared/
26 โ””โ”€โ”€ types.ts # Shared TypeScript interfaces
38### Frontend
39
40- Built with React
41- Uses Tailwind CSS for styling
42- Communicates with the backend API

testmar24index.tsx3 matches

@charmaineโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import App from "./components/App.tsx";
5

testmar24App.tsx3 matches

@charmaineโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { Todo, CreateTodoInput, UpdateTodoInput } from "../../shared/types.ts";
4
37
38 // Create a new todo
39 const createTodo = async (e: React.FormEvent) => {
40 e.preventDefault();
41 if (!newTodoText.trim()) return;

understandingYellowWeaselmain.tsx3 matches

@BelgineMalinoโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const ANTIBIOTICS_DATA = [

Ss_Mmain.tsx3 matches

@abasโ€ขUpdated 1 month ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function App() {

IClickWolf4 file matches

@vtTestLocalโ€ขUpdated 1 day ago
Starter template with client-side React & Hono server

vt-discord4 file matches

@boucherโ€ขUpdated 5 days ago
Starter template with client-side React & Hono server
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