Skip to content
Compare
Choose a tag to compare
@astrobot-houston astrobot-houston released this 27 May 11:00
· 1014 commits to main since this release
cdf89a1

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,
      },
    });