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=835&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 9420 results for "react"(1417ms)

doAppmain.tsx4 matches

@Aditya230•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {
17 }
18
19 async function addTodo(e: React.FormEvent) {
20 e.preventDefault();
21 if (!newTodo.trim()) return;

searchSectorsAppmain.tsx3 matches

@Fairestofthemall•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect, useCallback } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function BusinessDetailsModal({ business, onClose }) {

burnCaloriesCalculatormain.tsx3 matches

@Azazil•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5// Calorie burn rates per hour (approximate values)

huntTheWumpusWebVersionmain.tsx3 matches

@roboninja•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5// Game constants

BadmintonMatchMakerAppmain.tsx3 matches

@botuha20•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useCallback } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5type Player = {

big5PersonalityTestmain.tsx2 matches

@manyone•Updated 5 months ago
200 },
201 'Emotional Stability': {
202 description: 'Emotional Stability measures an individual\'s ability to manage stress and emotional reactions. High scorers are calm, resilient, and handle pressure well. Low scorers are more reactive, experience mood swings, and may feel anxious or stressed more frequently.',
203 highTraits: ['Calm', 'Resilient', 'Even-tempered', 'Confident'],
204 lowTraits: ['Sensitive', 'Reactive', 'Anxious', 'Emotionally Variable']
205 },
206 'Intellect/Imagination': {

plantIdentifierAppmain.tsx3 matches

@mahtabtattur•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useRef, useCallback, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import OpenAI from "https://esm.sh/openai";
5

rollADicemain.tsx3 matches

@liyi•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5/** Utility functions */

cerebras_codermain.tsx6 matches

@joyboy•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import Cerebras from "https://esm.sh/@cerebras/cerebras_cloud_sdk";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5import { Prism as SyntaxHighlighter } from "https://esm.sh/react-syntax-highlighter";
6import { tomorrow } from "https://esm.sh/react-syntax-highlighter/dist/esm/styles/prism";
7
8function App() {
18 >(null);
19
20 async function handleSubmit(e: React.FormEvent) {
21 e.preventDefault();
22 setLoading(true);

exceptionalBeigeMacawmain.tsx2 matches

@akbaruddin•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react **/
2import { renderToString } from "https://esm.sh/react-dom@18/server";
3
4export default (req: Request) => {

new_website

@wolf•Updated 18 hours ago
Starter template with client-side React & Hono server

IClickWolf4 file matches

@vtTestLocal•Updated 3 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