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/$%7Bsuccess?q=react&page=833&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 9494 results for "react"(1549ms)

helpfulFuchsiaAmphibianmain.tsx3 matches

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

test_explorermain.tsx3 matches

@willthereader•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
5const exampleTests = {

blob_adminREADME.md1 match

@stu43005•Updated 5 months ago
6
7Versions 0-17 of this val were done with Hono and server-rendering.
8Versions 18+ were generated with Townie and use client-side React.
9
10To use this val, fork it to your account.

emilrdlemain.tsx3 matches

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

logicalBeigeSkinkmain.tsx2 matches

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

visionaryPeachAspmain.tsx3 matches

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

forEmulated1main.tsx3 matches

@manyone•Updated 5 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";

StarterPackFeeds9 file matches

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

reactHonoStarter4 file matches

@texoport•Updated 1 day 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