diff options
Diffstat (limited to '.changeset/yellow-snakes-jam.md')
-rw-r--r-- | .changeset/yellow-snakes-jam.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.changeset/yellow-snakes-jam.md b/.changeset/yellow-snakes-jam.md deleted file mode 100644 index 87c4d1da7..000000000 --- a/.changeset/yellow-snakes-jam.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@astrojs/react': minor ---- - -Optionally parse React slots as React children. - -This adds a new configuration option for the React integration `experimentalReactChildren`: - -```js -export default { - integrations: [ - react({ - experimentalReactChildren: true, - }) - ] -} -``` - -With this enabled, children passed to React from Astro components via the default slot are parsed as React components. - -This enables better compatibility with certain React components which manipulate their children. |