mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
12 lines
341 B
Markdown
12 lines
341 B
Markdown
---
|
|
'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.
|
|
|
|
```js
|
|
const container = await experimental_AstroContainer.create();
|
|
return await container.renderToResponse(Component, {
|
|
skipClientDirectives: true,
|
|
});
|
|
```
|