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/$%7Burl%7D?q=react&page=69&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 9985 results for "react"(1238ms)

GitHub-Release-Notes

GitHub-Release-NotesRepoSelector.tsx4 matches

@charmaine•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4interface RepoSelectorProps {
24}: RepoSelectorProps) {
25 // Default to 30 days ago for start date if not set
26 React.useEffect(() => {
27 if (!startDate) {
28 const thirtyDaysAgo = new Date();
58 onChange={(e) => onRepoChange(e.target.value)}
59 className="w-full p-2 border rounded"
60 placeholder="e.g., react"
61 />
62 </div>

luciaMagicLinkStarterUserProfile.tsx3 matches

@cameronpak•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4interface User {
19 const [error, setError] = useState<string | null>(null);
20
21 const handleSubmit = async (e: React.FormEvent) => {
22 e.preventDefault();
23

luciaMagicLinkStarterREADME.md1 match

@cameronpak•Updated 1 week ago
26
27- **Database**:[Val Town SQLite](https://docs.val.town/std/sqlite/) for storing users, sessions, and magic link tokens
28- **Frontend**: React with Tailwind CSS
29- **Backend**: Hono.js for API routes and middleware
30- **Authentication**: Built by following the [Lucia guide](https://lucia-next.pages.dev/)

luciaMagicLinkStarterLoginForm.tsx3 matches

@cameronpak•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4interface LoginFormProps {
11 const [emailSent, setEmailSent] = useState(false);
12
13 const handleSubmit = async (e: React.FormEvent) => {
14 e.preventDefault();
15

luciaMagicLinkStarterindex.tsx2 matches

@cameronpak•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import { App } from "./components/App.tsx";
4

luciaMagicLinkStarterApp.tsx2 matches

@cameronpak•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useEffect, useState } from "https://esm.sh/react@18.2.0";
3import { LoginForm } from "./LoginForm.tsx";
4import { UserProfile } from "./UserProfile.tsx";
luciaMagicLinkStarter

luciaMagicLinkStarterREADME.md1 match

@stevekrouse•Updated 1 week ago
26
27- **Database**:[Val Town SQLite](https://docs.val.town/std/sqlite/) for storing users, sessions, and magic link tokens
28- **Frontend**: React with Tailwind CSS
29- **Backend**: Hono.js for API routes and middleware
30- **Authentication**: Built by following the [Lucia guide](https://lucia-next.pages.dev/)
luciaMagicLinkStarter

luciaMagicLinkStarterUserProfile.tsx3 matches

@stevekrouse•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4interface User {
19 const [error, setError] = useState<string | null>(null);
20
21 const handleSubmit = async (e: React.FormEvent) => {
22 e.preventDefault();
23
luciaMagicLinkStarter

luciaMagicLinkStarterLoginForm.tsx3 matches

@stevekrouse•Updated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3
4interface LoginFormProps {
11 const [emailSent, setEmailSent] = useState(false);
12
13 const handleSubmit = async (e: React.FormEvent) => {
14 e.preventDefault();
15

linkInBioTemplatemain.tsx2 matches

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

reactHonoStarter10 file matches

@Arthur88•Updated 1 hour ago
react-router-hono-starter

react-router-hono-starter4 file matches

@jxnblk•Updated 8 hours ago
Minimal React Router + Hono starter example
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