• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
git

git

webshell

Remix of jxnblk/preact-client-starter
Public
Like
webshell
Home
Code
6
App.tsx
Embed.tsx
HTML.tsx
README.md
client.ts
H
http.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
…
README.md

Preact Client Starter

Minimal Preact starter example with client-side hydration

View Demo

How it works

The http.tsx file renders the HTML Preact component on the server. This component includes a <script> tag that requests the client.ts module in the browser. This module hydrates the <div id="app"> element with the App component to allow you to use client-side state.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.