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=525&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 8585 results for "react"(996ms)

supremeAquaTiglonmain.tsx2 matches

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

judgeWordsmain.tsx3 matches

@alexwein•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, { useCallback, useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5function NamePrompt({ onSubmit }) {

unreliable_broadcastserver1 match

@maxm•Updated 2 months ago
12<body>
13 <div id="root"></div>
14 <script type="module" src="${import.meta.resolve("./react")}"></script>
15</body>
16</html>

weatherDashboardmain.tsx3 matches

@Enyewashebir•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, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5function WeatherDashboard() {

kidStoryAppmain.tsx3 matches

@Chechegify•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 STORIES = [

autoGenerateAppmain.tsx4 matches

@genius•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";
4import { jsx, jsxs } from "https://esm.sh/react@18.2.0/jsx-runtime";
5
6// Rest of the client-side code remains unchanged

valentinemain.tsx3 matches

@pomodorina•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 = [

facebookLoginPagemain.tsx6 matches

@manjit•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function CreateAccountModal({ onClose, onAccountCreated }) {
12 const [error, setError] = useState("");
13
14 const handleSubmit = async (e: React.FormEvent) => {
15 e.preventDefault();
16 setError("");
137 const [success, setSuccess] = useState("");
138
139 const handleSubmit = async (e: React.FormEvent) => {
140 e.preventDefault();
141 setError("");
196 const [loginMessage, setLoginMessage] = useState("");
197
198 const handleSubmit = async (e: React.FormEvent) => {
199 e.preventDefault();
200 try {

Youths4chnangeintvmain.tsx3 matches

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

pickRightImageGamemain.tsx3 matches

@ur_buddha•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
5// Image sets for different categories

vt-discord4 file matches

@boucher•Updated 1 day ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 1 day ago
A web-based dice roller using React on Val Town
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