github withastro/astro @astrojs/react@3.0.0-beta.3

latest releases: astro@4.15.9, astro@4.15.8, @astrojs/mdx@3.1.7...
pre-release13 months ago

Minor Changes

  • #8082 16a3fdf93 Thanks @matthewp! - Optionally parse React slots as React children.

    This adds a new configuration option for the React integration experimentalReactChildren:

    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.

Don't miss a new astro release

NewReleases is sending notifications on new releases.