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/$%7Bart_info.art.src%7D?q=react&page=809&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 9072 results for "react"(6872ms)

diplomaticMagentaMothmain.tsx3 matches

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

animalInfoIngpracticalBlushAlbatrossmain.tsx3 matches

@junhoca•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 StarRating({ rating, onRate }) {

stripeCasualCheckoutDemomain.tsx3 matches

@vawogbemi•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";
4import Stripe from "https://esm.sh/stripe";
5

passwordGenmain.tsx3 matches

@all•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import confetti from "https://esm.sh/canvas-confetti@1.6.0";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6function AlbertiCipherDisk({ outerRotation, innerRotation, onRotate }) {

htmlToMarkdownConvertermain.tsx3 matches

@willow•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";
4import TurndownService from "https://esm.sh/turndown";
5

xmasRedHamstermain.tsx2 matches

@trollishka•Updated 6 months ago
42
43 if (data.items && data.items.length > 0) {
44 // Sort pins by reaction count (as a measure of popularity)
45 const sortedPins = data.items.sort((a, b) => (b.reaction_counts?.like || 0) - (a.reaction_counts?.like || 0));
46 const mostPopularPin = sortedPins[0];
47

xmasRedHamstermain.tsx2 matches

@stevekrouse•Updated 6 months ago
42
43 if (data.items && data.items.length > 0) {
44 // Sort pins by reaction count (as a measure of popularity)
45 const sortedPins = data.items.sort((a, b) => (b.reaction_counts?.like || 0) - (a.reaction_counts?.like || 0));
46 const mostPopularPin = sortedPins[0];
47

tokencountermain.tsx3 matches

@prashamtrivedi•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { GoogleGenerativeAI } from "https://esm.sh/@google/generative-ai";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6function App() {

multilingualchatroommain.tsx3 matches

@daisuke•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { nanoid } from "https://esm.sh/nanoid";
3import React, { useCallback, useEffect, useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6const languages = [

weatherDashboardmain.tsx3 matches

@oioioi•Updated 6 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
5const API_BASE_URL = "https://api.open-meteo.com/v1/forecast";

vt-discord4 file matches

@boucher•Updated 4 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 4 days ago
A web-based dice roller using React on Val Town
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