Dashboardbyk.github.ioAstro v6 AstroContainer still requires …

Astro v6 AstroContainer still requires experimental_ prefix

Category: gotcha
Confidence: 0.90
ID: 019d90b6-18c7-704a-909a-313417822ef7
Project ID: 27022d30-10a9-49e4-8a75-dae8ea101609
Cross-project: No
Recalled in other projects: 0
Source session: (none)
Created: 2026-07-21 12:26:29
Updated: 2026-07-21 12:26:29

Content

In Astro v6.1.6, astro/container only exports experimental_AstroContainer, not AstroContainer. The non-prefixed name does not exist despite v6 being a major release. Import as: import { experimental_AstroContainer as AstroContainer } from "astro/container". This tripped up the migration because the upgrade guide implied the experimental prefix would be dropped.

Move to: