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/image-url.jpg%20%22Optional%20title%22?q=react&page=867&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 9726 results for "react"(1885ms)

whoIsHiringmain.tsx4 matches

@spinningideas•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2
3import React, { useCallback, useEffect, useReducer, useRef, useState } from "https://esm.sh/react";
4import { hydrateRoot } from "https://esm.sh/react-dom/client";
5import { renderToString } from "https://esm.sh/react-dom/server";
6import { hnSearch } from "https://esm.town/v/stevekrouse/hnSearch";
7import About from "https://esm.town/v/vawogbemi/whoIsHiringAbout";

spanishPoeticClockmain.tsx3 matches

@manyone•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { getLegacyImportUrl } from "https://esm.town/v/std/getLegacyImportUrl/main.tsx";
3import React from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6function formatTime() {

sqliteExplorerAppmain.tsx3 matches

@granin•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() {

sqlitemain.tsx3 matches

@granin•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 { nanoid } from "https://esm.sh/nanoid";
5

thrillingAmaranthKiwimain.tsx9 matches

@bladesquad•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, {
3 useState,
4 useEffect,
7 StrictMode,
8 Component
9} from "https://esm.sh/react";
10import ReactDOM from "https://esm.sh/react-dom";
11
12// Error Boundary Component
594
595 try {
596 const root = ReactDOM.createRoot(rootElement);
597 root.render(
598 <ErrorBoundary>
659 <script src="https://esm.town/v/std/catch"></script>
660 <script type="module">
661 import React from 'https://esm.sh/react';
662 import ReactDOM from 'https://esm.sh/react-dom';
663 window.React = React;
664 window.ReactDOM = ReactDOM;
665 </script>
666 <script type="module" src="${import.meta.url}"></script>

insightfulSalmonRabbitmain.tsx4 matches

@ubixsnow•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {
39 }, [isDarkMode]);
40
41 const handleSubmit = async (e: React.FormEvent) => {
42 e.preventDefault();
43 setIsLoading(true);

guantanameramain.tsx2 matches

@Transmachin•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) => {

ModuloCreazioneIntimitamain.tsx3 matches

@cicciocappa•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// Define question types

exceptionalBlueBearmain.tsx2 matches

@Ruvi123•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) => {

Family100main.tsx5 matches

@nirwan•Updated 5 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import ReactDOM from "https://esm.sh/react-dom";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6const { useState, useRef, useEffect } = React;
7
8function compressImage(file, maxWidth = 800, maxHeight = 800, quality = 0.7) {

StarterPackFeeds10 file matches

@moe•Updated 10 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@deboneil07•Updated 11 hours 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