Unlisted
Like
2
island_demo
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.
Viewing readonly version of main branch: v75View latest version
Island are isolated components in a static pages. They are rendered on the server and hydrated on the client.
- Add the hydration script to your head.
<script src="https://esm.town/v/pomdtr/hydrate_islands" type="module" defer></script>
- Wrap the component you want to hydrate in an island
See @pomdtr/counter_island to learn how to create islands
