github withastro/astro astro@4.9.2

latest releases: astro@4.11.3, astro@4.11.2, @astrojs/studio@0.1.1...
one month ago

Patch Changes

  • #11138 98e0372 Thanks @ematipico! - You can now pass props when rendering a component using the Container APIs:

    import { experimental_AstroContainer as AstroContainer } from 'astro/contaienr';
    import Card from '../src/components/Card.astro';
    
    const container = await AstroContainer.create();
    const result = await container.renderToString(Card, {
      props: {
        someState: true,
      },
    });

Don't miss a new astro release

NewReleases is sending notifications on new releases.