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=829&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 9061 results for "react"(2633ms)

datetimeFormatterToolmain.tsx3 matches

@maxencelav•Updated 7 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 { format, parseISO } from "https://esm.sh/date-fns";
5

drumMachinemain.tsx3 matches

@sedson•Updated 7 months ago
6//
7
8/** @jsxImportSource https://esm.sh/react */
9import React, { useEffect, useRef, useState } from "https://esm.sh/react";
10import { createRoot } from "https://esm.sh/react-dom/client";
11
12const STEPS = 16;

broadRedMarmosetmain.tsx4 matches

@willthereader•Updated 7 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// first stable version is v22
5function App() {
67
68function client() {
69 console.log("Initializing client-side React application");
70 createRoot(document.getElementById("root")).render(<App />);
71}

juicyBowTiemain.tsx3 matches

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

Chatprincipalmain.tsx4 matches

@arthrod•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useRef, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import styled, { createGlobalStyle, keyframes } from "https://esm.sh/styled-components";
5
423
424function App() {
425 const [isNavOpen, setIsNavOpen] = React.useState(false);
426 const toggleNav = () => {
427 setIsNavOpen(!isNavOpen);

laserSimmain.tsx3 matches

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

whoIsHiringAboutmain.tsx1 match

@vawogbemi•Updated 7 months ago
1/** @jsxImportSource https://esm.sh/react */
2
3export default function About() {

v3FanFicScrapermain.tsx3 matches

@willthereader•Updated 7 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
5console.log("Script started");

statusmain.tsx2 matches

@overengineered•Updated 7 months ago
1/** @jsxImportSource npm:preact */
2import { sqlite } from "https://esm.town/v/std/sqlite?v=6";
3import { html } from "https://esm.town/v/stevekrouse/html";
4import { render } from "npm:preact-render-to-string";
5
6export const sha256 = async function digestMessage(message) {

audio03main.tsx3 matches

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

vt-discord4 file matches

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

diceRollerUI1 file match

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