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

pomdtr

island_demo

Unlisted
Like
2
island_demo
Home
Code
2
README.md
H
main.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
2/27/2024
Viewing readonly version of main branch: v29
View latest version
README.md

Island hydration pattern in val.town !

Island are isolated components in a static pages. They are rendered on the server and hydrated on the client.

Usage

  1. Add the hydration script to your head.
<script src="https://esm.town/v/pomdtr/hydrate_islands" type="module" defer></script>
  1. Wrap the component you want to hydrate in an island
Create val
<Island src="https://esm.town/v/pomdtr/counter"> <Counter initialCount={3} /> </Island>

See @pomdtr/counter_island to learn how to create islands

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
© 2026 Val Town, Inc.