Astro 2.9 has been officially released . Major changes:
- Support for view transitions (experimental)
- Add redirect
redirects
command - Optimize script packaging
See the release notes for details .
Astro is a modern, lightweight static site generator with an outstanding Developer Experience.
Other Astro features:
- Built-in component framework: Astro provides first-class support for front-end tools such as React, Vue, Svelte, and Tailwind CSS.
astro add
You can add it using the command
- Supports static page generation (SSG) and server-side rendering (SSR), rendering content on demand
- Superior developer experience: Astro supports all favorite developer tools and features such as TypeScript, NPM packages, Scoped CSS, CSS Modules, Sass, Tailwind, Markdown, MDX
- On-demand components: Astro supports on-demand loading of JavaScript through hydration components. So if that particular component is not visible, it won't load the associated JavaScript
- 100% Static HTML, No JavaScript Runtime Environment: When Astro is built, it strips out all JavaScript and renders the entire page as a static HTML page
- SEO Friendly: With Astro, automatic sitemaps, RSS feeds, pagination and favorites can be enabled
- File-based routing: Just like Next.js, Astro has a file-based routing mechanism, everything in /pages Astro will convert the directory into a route