Starter template with client-side React & Hono server
Starter template with client-side React & Hono server
Starter template with client-side React & Hono server
Minimal Preact starter example with client-side hydration
Minimal Preact SSR starter example
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from 'react';
3
4interface ContactFormData {
8}
9
10const ContactUs: React.FC = () => {
11 const [formData, setFormData] = useState<ContactFormData>({
12 fullName: '',
15 });
16
17 const handleInputChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
18 const { name, value } = e.target;
19 setFormData(prev => ({
23 };
24
25 const handleSubmit = (e: React.FormEvent) => {
26 e.preventDefault();
27 // Handle form submission here
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2
3import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
4import PropertyCard from "../components/PropertyCard.tsx";
5import SearchFilters from "../components/SearchFilters.tsx";
Write business logic with ease
Meet the new standard for modern TypeScript development.
Type-safe, reactive, framework-agnostic library to manage your business logic.
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh