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=584&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 9583 results for "react"(1117ms)

twitterAlertmain.tsx3 matches

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

jubilantGrayEgretmain.tsx2 matches

@Akash11•Updated 2 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) => {

blob_adminREADME.md1 match

@yutae•Updated 2 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.

blob_adminmain.tsx5 matches

@yutae•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { Hono } from "https://esm.sh/hono";
3import { debounce } from "https://esm.sh/lodash-es";
4import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
5import { useDropzone } from "https://esm.sh/react-dropzone?deps=react@18.2.0,react-dom@18.2.0";
6import React, { ReactNode, useCallback, useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
7import { lastlogin } from "https://esm.town/v/stevekrouse/lastlogin_safe";
8import { LoginWithGoogleButton } from "https://esm.town/v/stevekrouse/LoginWithGoogleButton";
9
10interface TooltipProps {
11 children: ReactNode;
12 content: string;
13}

capitalMultipliersmain.tsx9 matches

@vinaybjp12•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import * as React from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function WhatsAppButton() {
28
29function WelcomePopup({ onClose }) {
30 const [headlines, setHeadlines] = React.useState([
31 "35 Years of Proven Financial Expertise",
32 "Trusted Advisory Since 1989",
34 ]);
35
36 React.useEffect(() => {
37 async function generateHeadlines() {
38 try {
102
103function App() {
104 const [showWelcomePopup, setShowWelcomePopup] = React.useState(true);
105
106 const handleWelcomePopupClose = () => {
552 <script src="https://esm.town/v/std/catch"></script>
553 <script type="module">
554 import React from 'https://esm.sh/react@18.2.0';
555 import { createRoot } from 'https://esm.sh/react-dom@18.2.0/client';
556 import { App } from '${import.meta.url}';
557 createRoot(document.getElementById('root')).render(React.createElement(App));
558 </script>
559 </body>

Happyjourneymain.tsx18 matches

@Happy_journey•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { marked } from "https://esm.sh/marked@9.1.2";
5
11### Development Environment
12- Install Node.js (v16+ recommended)
13- Install React Native CLI
14- Install Android Studio
15- Install Xcode (for iOS development)
17### Required Global Installations
18\`\`\`bash
19npm install -g react-native-cli
20npm install -g @react-native-community/cli
21\`\`\`
22
24
25\`\`\`bash
26# Create new React Native project
27npx react-native init HappyJourneyAutoTravels
28
29# Navigate to project directory
35\`\`\`bash
36# Core Dependencies
37npm install @react-native-community/geolocation
38npm install react-native-maps
39npm install @react-native-picker/picker
40npm install @react-native-firebase/app
41npm install @react-native-firebase/messaging
42npm install react-native-callkeep
43
44# Peer Dependencies
45npm install react-native-permissions
46npm install react-native-safe-area-context
47\`\`\`
48
62dependencies {
63 // Firebase Dependencies
64 implementation project(':@react-native-firebase_app')
65 implementation project(':@react-native-firebase_messaging')
66}
67\`\`\`

deftBrownMinnowmain.tsx15 matches

@Happy_journey•Updated 2 months ago
6### Development Environment
7- Install Node.js (v16+ recommended)
8- Install React Native CLI
9- Install Android Studio
10- Install Xcode (for iOS development)
12### Required Global Installations
13\`\`\`bash
14npm install -g react-native-cli
15npm install -g @react-native-community/cli
16\`\`\`
17
19
20\`\`\`bash
21# Create new React Native project
22npx react-native init HappyJourneyAutoTravels
23
24# Navigate to project directory
30\`\`\`bash
31# Core Dependencies
32npm install @react-native-community/geolocation
33npm install react-native-maps
34npm install @react-native-picker/picker
35npm install @react-native-firebase/app
36npm install @react-native-firebase/messaging
37npm install react-native-callkeep
38
39# Peer Dependencies
40npm install react-native-permissions
41npm install react-native-safe-area-context
42\`\`\`
43
57dependencies {
58 // Firebase Dependencies
59 implementation project(':@react-native-firebase_app')
60 implementation project(':@react-native-firebase_messaging')
61}
62\`\`\`

timelessMaroonMartenmain.tsx3 matches

@jane555•Updated 2 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 NO_PHRASES = [

ValueAwardmain.tsx3 matches

@Bernard_Lori•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const EMPLOYEES = [

prominentPlumNewtmain.tsx2 matches

@TikTokcoins•Updated 2 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) => {

StarterPackFeeds10 file matches

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

reactHonoStarter4 file matches

@texoport•Updated 2 days 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