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/$%7Burl%7D?q=react&page=1275&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 14840 results for "react"(6709ms)

ssbmain.tsx3 matches

@starcoins•Updated 4 months 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 HomeSection({ countdown }) {

wallpaperAppmain.tsx3 matches

@Buddha•Updated 4 months 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 WallpaperGenerator() {

steadyBlackPelicanmain.tsx3 matches

@Buddha•Updated 4 months 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 WallpaperGenerator() {

understandingBrownReindeermain.tsx3 matches

@Buddha•Updated 4 months 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 WallpaperGenerator() {

spectacularIndigoXerinaemain.tsx3 matches

@Ravishankar•Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useCallback, useState } from "https://esm.sh/react@18.2.0";
4
5type PieceType = "king" | "queen" | "rook" | "bishop" | "knight" | "pawn";

zealousPurpleMongoosemain.tsx2 matches

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

react_client_forkmain.tsx3 matches

@charmaine•Updated 4 months 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";
4import { blob } from "https://esm.town/v/std/blob?v=10";
5

robustApricotSkinkmain.tsx5 matches

@johndevor•Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3import { getWeather } from "https://esm.town/v/stevekrouse/getWeather";
4import { TiWeatherCloudy, TiWeatherDownpour, TiWeatherNight, TiWeatherPartlySunny, TiWeatherShower, TiWeatherSnow, TiWeatherStormy, TiWeatherSunny, TiWeatherWindy, TiWeatherWindyCloudy } from "npm:react-icons/ti";
5import { SiAccuweather, SiTheweatherchannel } from "npm:react-icons/si";
6
7const locations = ["Brooklyn, NY", "London, UK", "Tokyo, Japan", "Sydney, Australia", "Moscow, Russia"];
8
9export const reactExample = async () => {
10 const weatherReports = await Promise.all(locations.map(location => getWeather(location)));
11

tenderAmethystScallopmain.tsx4 matches

@shubham02•Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
4import { jsPDF } from "https://esm.sh/jspdf@2.5.1";
5
151 const root = document.getElementById('root');
152 if (root) {
153 import("https://esm.sh/react-dom@18.2.0/client").then(({ createRoot }) => {
154 createRoot(root).render(<ImageToPDFConverter />);
155 });

imagetopdfmain.tsx4 matches

@shubham02•Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
4import { jsPDF } from "https://esm.sh/jspdf@2.5.1";
5
151 const root = document.getElementById('root');
152 if (root) {
153 import("https://esm.sh/react-dom@18.2.0/client").then(({ createRoot }) => {
154 createRoot(root).render(<ImageToPDFConverter />);
155 });

reactHonoStarter4 file matches

@archie•Updated 1 hour ago

reactHonoStarter4 file matches

@ETLS•Updated 1 hour 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