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=14&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 13205 results for "react"(1867ms)

shubham07README.md1 match

@Scoderโ€ขUpdated 13 hours ago
31โ”œโ”€โ”€ frontend/
32โ”‚ โ”œโ”€โ”€ index.html # Main HTML template
33โ”‚ โ”œโ”€โ”€ index.tsx # React frontend entry point
34โ”‚ โ””โ”€โ”€ style.css # Custom styles
35โ”œโ”€โ”€ shared/

shubham07index.tsx3 matches

@Scoderโ€ขUpdated 13 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useMemo } from 'https://esm.sh/react@18.2.0?deps=react@18.2.0';
3import { createRoot } from 'https://esm.sh/react-dom@18.2.0/client?deps=react@18.2.0,react-dom@18.2.0';
4import type { CompoundInterestInput, CompoundInterestResult, CurrencyCode } from '../shared/types.ts';
5import { COMPOUNDING_FREQUENCIES, CURRENCIES } from '../shared/types.ts';

my_portfolioREADME.md2 matches

@riyoโ€ขUpdated 14 hours ago
15## Tech Stack
16
17- **Frontend**: React 18.2.0 with TypeScript
18- **Styling**: Tailwind CSS
19- **Animations**: Framer Motion
28โ”‚ โ””โ”€โ”€ index.ts # Main API server with Hono
29โ”œโ”€โ”€ frontend/
30โ”‚ โ”œโ”€โ”€ components/ # React components
31โ”‚ โ”œโ”€โ”€ index.html # Main HTML template
32โ”‚ โ”œโ”€โ”€ index.tsx # Frontend entry point

my_portfolioApp.tsx17 matches

@riyoโ€ขUpdated 14 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import type { Project, Skill, Experience, ContactFormData, SocialLink } from "../../shared/types.ts";
4
168
169// Components
170const DarkModeToggle: React.FC<{ darkMode: boolean; toggleDarkMode: () => void }> = ({ darkMode, toggleDarkMode }) => (
171 <button
172 onClick={toggleDarkMode}
178);
179
180const Navigation: React.FC = () => (
181 <nav className="fixed top-0 left-0 right-0 bg-white/90 dark:bg-gray-900/90 backdrop-blur-sm z-40 border-b border-gray-200 dark:border-gray-700">
182 <div className="max-w-6xl mx-auto px-4 py-4">
201);
202
203const HeroSection: React.FC = () => (
204 <section className="min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-indigo-100 dark:from-gray-900 dark:to-gray-800 pt-20">
205 <div className="max-w-6xl mx-auto px-4 text-center">
233);
234
235const AboutSection: React.FC = () => (
236 <section id="about" className="section-padding bg-white dark:bg-gray-900">
237 <div className="max-w-6xl mx-auto">
287);
288
289const ProjectCard: React.FC<{ project: Project }> = ({ project }) => (
290 <div className="project-card">
291 <div className="p-6">
369);
370
371const ProjectsSection: React.FC = () => (
372 <section id="projects" className="section-padding bg-gray-50 dark:bg-gray-800">
373 <div className="max-w-6xl mx-auto">
384);
385
386const SkillsSection: React.FC = () => (
387 <section id="skills" className="section-padding bg-white dark:bg-gray-900">
388 <div className="max-w-6xl mx-auto">
410);
411
412const ExperienceSection: React.FC = () => (
413 <section id="experience" className="section-padding bg-gray-50 dark:bg-gray-800">
414 <div className="max-w-6xl mx-auto">
451);
452
453const ContactForm: React.FC = () => {
454 const [formData, setFormData] = useState({
455 name: '',
461 const [statusMessage, setStatusMessage] = useState('');
462
463 const handleSubmit = async (e: React.FormEvent) => {
464 e.preventDefault();
465 setIsSubmitting(true);
493 };
494
495 const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
496 setFormData({
497 ...formData,
578};
579
580const ContactSection: React.FC = () => (
581 <section id="contact" className="section-padding bg-white dark:bg-gray-900">
582 <div className="max-w-6xl mx-auto">
657);
658
659const Footer: React.FC = () => (
660 <footer className="bg-gray-900 dark:bg-gray-950 text-white py-12">
661 <div className="max-w-6xl mx-auto px-4">
685 </p>
686 <p className="text-gray-500 text-xs mt-2">
687 Built with React, TypeScript, and Tailwind CSS on Val Town
688 </p>
689 </div>
693);
694
695const App: React.FC = () => {
696 const [darkMode, setDarkMode] = useState(false);
697

my_portfolioindex.tsx3 matches

@riyoโ€ขUpdated 14 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client?deps=react@18.2.0,react-dom@18.2.0";
4import App from "./components/App.tsx";
5

my_portfolioindex.html1 match

@riyoโ€ขUpdated 14 hours ago
36 <div id="root"></div>
37
38 <!-- React and Dependencies -->
39 <script type="module" src="/frontend/index.tsx"></script>
40</body>

HTTP_examplesreact3 matches

@halloleoโ€ขUpdated 16 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export const reactExample = () =>
5 new Response(renderToString(<div>Test {1 + 1}</div>), {
6 headers: {

HTTP_examplespreact3 matches

@halloleoโ€ขUpdated 16 hours ago
1/** @jsxImportSource https://esm.sh/preact */
2import { render } from "npm:preact-render-to-string";
3
4export const preactExample = () =>
5 new Response(render(<div>Test {1 + 1}</div>), {
6 headers: {

linkInBioTemplatemain.tsx2 matches

@pals_with_Valโ€ขUpdated 16 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

thehotlinemain.tsx2 matches

@kgambsโ€ขUpdated 17 hours ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

reactHonoStarter3 file matches

@angeltapesโ€ขUpdated 3 hours ago
Website experiment

reactHonoStarter4 file matches

@notmartโ€ขUpdated 1 day 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