mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
341 B
341 B
astro |
---|
patch |
Adds a new option to the Container API to skip client side directives. This option should be used if you render a component that uses client:*
directives.
const container = await experimental_AstroContainer.create();
return await container.renderToResponse(Component, {
skipClientDirectives: true,
});