hono-client-starter
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.
http.tsx
https://maxjoygit--0198ef5a1bd972eda7dd272fa3390e12.web.val.run
Minimal Hono client components starter example
The http.tsx
imports the App
component and renders it on the server.
The server HTML response includes a <script>
that imports the client.ts
module.
The client.ts
module imports the App
component and hydrates the HTML in the browser.