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/$1?q=react&page=1181&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 16324 results for "react"(6217ms)

skullcatBubble.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const sx = {

skullcatBtn.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const sx = {

skullcatBitSkull.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3import {
4 d,

skullcatBgRight.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const BgRight = ({ color, ...props }) => {

skullcatBgLeft.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const BgLeft = ({ color, ...props }) => {

skullcatBadge.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const sx = {

skullcatAchievement.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@15 */
2import React from 'https://esm.sh/react@15'
3
4const sx = {

timelinePlayerList.tsx2 matches

@shouser•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
2import { Player } from "/shared/types.ts";
3import React, { useState } from "https://esm.sh/react@18.2.0?dev";
4
5interface PlayerListProps {

timelinePlayerForm.tsx4 matches

@shouser•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
2import { defaultPlayerFormData, Player, PlayerFormData } from "/shared/types.ts";
3import { validatePlayerForm } from "/shared/utils.ts";
4import React, { useState } from "https://esm.sh/react@18.2.0?dev";
5
6interface PlayerFormProps {
14
15 // Handle form input changes
16 const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
17 const { name, value } = e.target;
18 setFormData(prev => ({
23
24 // Handle form submission
25 const handleSubmit = async (e: React.FormEvent) => {
26 e.preventDefault();
27

timelineNewGameForm.tsx4 matches

@shouser•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0?dev */
2import React, { useState } from "https://esm.sh/react@18.2.0?dev";
3import { defaultGameFormData, Game, GameFormData } from "../../shared/types.ts";
4
13
14 // Handle form input changes
15 const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
16 const { name, value } = e.target;
17 setFormData(prev => ({
22
23 // Handle form submission
24 const handleSubmit = async (e: React.FormEvent) => {
25 e.preventDefault();
26

reactHonoStarter4 file matches

@halfstack•Updated 18 hours ago

MiniAppStarter10 file matches

@moe•Updated 21 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