Photo by Eric Er on Unsplash

Article

Islands and client directives in Astro

Client directives decide whether a framework component stays static HTML or hydrates in the browser, and when. This page covers framework integrations, the five client directives, what props can cross into an island, sharing state between islands, server islands, and client-side navigation with view transitions.

Article

Server rendering in Astro

Static output is the default, but any route can render on demand once an adapter is installed. This page covers prerendering per route, adapters, request data and cookies, middleware with locals, actions for forms, and typed environment variables.

Tags

Search articles

Type a word to search published articles.

Open the search page