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=1479&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"(4112ms)

AboutNoelandLiammain.tsx3 matches

@richi1969•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 FAQ({ question, answer }) {

OasisDiscographymain.tsx3 matches

@richi1969•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5const OasisBandInfo = {

blueskyPostButtonmain.tsx3 matches

@lukedenton•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { BskyAgent } from "https://esm.sh/@atproto/api";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6function App() {

ThankYouNoteGeneratormain.tsx4 matches

@prashamtrivedi•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4import React, { useEffect, useState } from "https://esm.sh/react";
5import { createRoot } from "https://esm.sh/react-dom/client";
6
7function ThankYouCard({ note, theme, font, recipientName, senderName }) {

adventurousApricotGophermain.tsx3 matches

@deffgod•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";
4
5// Video Course Types

rssSummarizermain.tsx7 matches

@jamiedubs•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {
6 const [feedUrl, setFeedUrl] = React.useState("https://usv.com/feed/");
7 const [results, setResults] = React.useState(null);
8 const [loading, setLoading] = React.useState(false);
9 const [error, setError] = React.useState(null);
10
11 const feedOptions = [

BTCPriceCheckermain.tsx3 matches

@ericxyz86•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";
4
5function CryptoPriceApp() {

helpfulFuchsiaAmphibianmain.tsx3 matches

@Handlethis•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";
4
5function App() {

test_explorermain.tsx3 matches

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

blob_adminREADME.md1 match

@stu43005•Updated 6 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.
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