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/$%7Bart_info.art.src%7D?q=react&page=144&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 9671 results for "react"(926ms)

moiPosterImprovedindex.tsx4 matches

@dcm31•Updated 2 weeks 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 App from "./components/App.tsx";
5
6// Initialize React application
7createRoot(document.getElementById("root")!).render(<App />);

moiPosterImprovedMarkdownPreview.tsx3 matches

@dcm31•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4interface MarkdownPreviewProps {
9 * A component to render a simple preview of markdown content
10 */
11const MarkdownPreview: React.FC<MarkdownPreviewProps> = ({ markdown }) => {
12 // Simple markdown to HTML converter
13 const markdownToHtml = (markdown: string): string => {

moiPosterImprovedEditor.tsx4 matches

@dcm31•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useRef, useEffect } from "https://esm.sh/react@18.2.0";
3
4interface EditorProps {
11 * Markdown editor component with auto-resize
12 */
13const Editor: React.FC<EditorProps> = ({ value, onChange, disabled = false }) => {
14 const textareaRef = useRef<HTMLTextAreaElement>(null);
15
33
34 // Handle tab key to insert spaces instead of changing focus
35 const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {
36 if (e.key === 'Tab') {
37 e.preventDefault();

moiPosterApp.tsx2 matches

@dcm31•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import ProjectList from "./ProjectList.tsx";
4import Editor from "./Editor.tsx";

Val_Geomain.tsx5 matches

@DegVal•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import PDFDocument from "https://esm.sh/@react-pdf/renderer";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
5
6interface AnalysisResult {
36 }, []);
37
38 const handleImageUpload = (event: React.ChangeEvent<HTMLInputElement>) => {
39 const file = event.target.files?.[0];
40 if (file) {

CSBotmain.tsx3 matches

@Charlcy_a•Updated 2 weeks 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
5// Mock data for customer support

moiPosterEditor.tsx4 matches

@dcm31•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useRef, useEffect } from "https://esm.sh/react@18.2.0";
3
4interface EditorProps {
7}
8
9const Editor: React.FC<EditorProps> = ({ value, onChange }) => {
10 const textareaRef = useRef<HTMLTextAreaElement>(null);
11
29
30 // Handle tab key to insert spaces instead of changing focus
31 const handleKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {
32 if (e.key === 'Tab') {
33 e.preventDefault();

moiPosterProjectList.tsx3 matches

@dcm31•Updated 2 weeks ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4interface Project {
15}
16
17const ProjectList: React.FC<ProjectListProps> = ({ projects, onSelectProject, selectedProjectId }) => {
18 if (projects.length === 0) {
19 return (

moiPosterindex.tsx3 matches

@dcm31•Updated 2 weeks 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 App from "./components/App.tsx";
5

Iris1main.tsx3 matches

@Ibiyedi•Updated 2 weeks 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 JobPostingForm({ onSubmit }) {

StarterPackFeeds10 file matches

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

reactHonoStarter4 file matches

@deboneil07•Updated 3 hours 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