note: la sintesi e le note di rilascio sono in inglese
note: nessuna sintesi per questa release digest
Le release digest sono elencate senza una sintesi. Le note di rilascio originali di questa versione sono qui sotto.
release-notesgithub.com/withastro/astro · 14 righe
- ### Patch Changes
- - [#17736](https://github.com/withastro/astro/pull/17736) [`2b8b2e8`](https://github.com/withastro/astro/commit/2b8b2e80169da0ab19055166438291c46fcfe320) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new container function called `renderComponent()`, which renders Astro components with inlined styles and scripts.
- Users must import the component with the new `?container` query string:
- ```js
- import { experimental_AstroContainer } from "astro/container";
- import TodoList from "../components/TodoList.astro?container";
- const container = await experimental_AstroContainer.create();
- const _string = container.renderComponent(TodoList);
- ```