github withastro/astro @astrojs/svelte@2.2.0

latest releases: @astrojs/web-vitals@0.1.0, @astrojs/db@0.11.0, astro@4.7.1...
11 months ago

Minor Changes

  • #7093 3d525efc9 Thanks @matthewp! - Prevent removal of nested slots within islands

    This change introduces a new flag that renderers can add called supportsAstroStaticSlot. What this does is let Astro know that the render is sending <astro-static-slot> as placeholder values for static (non-hydrated) slots which Astro will then remove.

    This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:

    <Component>
      <div>
        <Component client:load>
          <span>Nested</span>
        </Component>
      </div>
    </Component>

Patch Changes

Don't miss a new astro release

NewReleases is sending notifications on new releases.