--- status: decided date: 2026-03-13 --- # Provider Owns Media Attachment ## Decision The provider (`` / React `Provider`) owns the `store.attach()` lifecycle. The container (`` / React `Container`) no longer discovers media or calls `store.attach()` — it registers itself with the provider via context and serves only as a layout reference element. Media and container elements register themselves with the provider through attach contexts — setter callbacks that flow downward from provider to descendants. The provider calls `store.attach({ media, container })` when it has a media element. As a fallback for plain `