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=521&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 9297 results for "react"(1028ms)

ExpenseTrackerExpense4 matches

@AryanChau0310•Updated 1 month 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
5// Expense interface to define structure
35
36 // Function to add a new expense
37 const addExpense = async (e: React.FormEvent) => {
38 e.preventDefault();
39

GXNewsmain.tsx3 matches

@Sagini•Updated 1 month 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// Strictly Environmental News Sources

GenZNewsAppmain.tsx3 matches

@Sagini•Updated 1 month 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";
4import { XMLParser } from "https://esm.sh/fast-xml-parser@4.3.2";
5

determinedBrownOcelotmain.tsx4 matches

@Awash•Updated 1 month 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
5interface ClosingActivity {
28 };
29
30 const handleSubmit = async (e: React.FormEvent) => {
31 e.preventDefault();
32 const response = await fetch("/activities", {

happyRedVipermain.tsx2 matches

@oyelanalawrence1•Updated 1 month 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) => {

linkInBioTemplatemain.tsx2 matches

@Paul_Omondi•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

delightfulHarlequinSilverfishmain.tsx3 matches

@YoungPapi•Updated 1 month 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() {

linkInBioTemplatemain.tsx2 matches

@Pelzy•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

MyProjectmain.tsx3 matches

@mercyngatia•Updated 1 month 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 RoboticAvatar({ seed }: { seed: string }) {

intuitiveGrayPikemain.tsx2 matches

@mercyngatia•Updated 1 month ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

IClickWolf4 file matches

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

vt-discord4 file matches

@boucher•Updated 5 days ago
Starter template with client-side React & Hono server
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