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/?q=react&page=1480&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 15995 results for "react"(2287ms)

emilrdlemain.tsx3 matches

@stevekrouse•Updated 6 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";
4
5const WORD_LENGTH = 5;

cerebras_codermain.tsx6 matches

@ruudzon•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import Cerebras from "https://esm.sh/@cerebras/cerebras_cloud_sdk";
3import Chart from "https://esm.sh/chart.js/auto";
4import React, { useEffect, useState } from "https://esm.sh/react";
5import { createRoot } from "https://esm.sh/react-dom/client";
6import { Prism as SyntaxHighlighter } from "https://esm.sh/react-syntax-highlighter";
7import { tomorrow } from "https://esm.sh/react-syntax-highlighter/dist/esm/styles/prism";
8
9const STARTER_PROMPTS = [
136 }, []);
137
138 async function handleSubmit(e: React.FormEvent) {
139 e.preventDefault();
140 setLoading(true);

lazyCookmain.tsx3 matches

@karkowg•Updated 6 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
5function App() {

logicalBeigeSkinkmain.tsx2 matches

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

visionaryPeachAspmain.tsx3 matches

@stevekrouse•Updated 6 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, { useState } from "https://esm.sh/react@18.2.0";
4
5const KEY = "socialDataProxy";

spectacularAzureAngelfishmain.tsx3 matches

@stevekrouse•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";
4import { Chart, registerables } from "https://esm.sh/chart.js";
5Chart.register(...registerables);

forEmulated1main.tsx3 matches

@manyone•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useRef, useEffect, useCallback } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import debounce from "https://esm.sh/lodash.debounce";
5import imageCompression from "https://esm.sh/browser-image-compression";

fearlessCyanBobcatmain.tsx2 matches

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

noCollectionTrackerREADME.md1 match

@cecedeecodes•Updated 6 months ago
38## 🛠 Technical Details
39
40- Built with React for a responsive and interactive user interface.
41- Uses localStorage for data persistence.
42- Implements PDF generation using jsPDF and html2canvas libraries.

LotecaV2main.tsx3 matches

@maxm•Updated 6 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";
4import { MEUS_JOGOS } from "https://esm.town/v/vacav/myConsts";
5
Discord-to-Linear

Discord-to-Linear4 file matches

@charmaine•Updated 13 hours ago
Discord -> Linear ticket based on emoji reaction trigger

MiniAppStarter10 file matches

@moe•Updated 18 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
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