π Patch Changes
- Updated dependencies [
2aa6d8ace]:- @astrojs/internal-helpers@0.2.0-beta.1
2aa6d8ace]:
#7924 519a1c4e8 Thanks @matthewp! - Support for React Refresh
The React integration now fully supports React Refresh and is backed by @vitejs/plugin-react.
Also included in this change are new include and exclude config options. Use these if you want to use React alongside another JSX framework; include specifies files to be compiled for React and exclude does the opposite.
1eae2e3f7 Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.#7093 3d525efc9 Thanks @matthewp! - Prevent removal of nested slots within islands
This change introduces a new flag that renderers can add called supportsAstroStaticSlot. What this does is let Astro know that the render is sending <astro-static-slot> as placeholder values for static (non-hydrated) slots which Astro will then remove.
This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:
<Component> <div> <Component client:load> <span>Nested</span> </Component> </div></Component>#6698 fc71c3f18 Thanks @bholmesdev! - Update React README to reference the new React docs
#6696 239b9a2fb Thanks @matthewp! - Add use-immer as a noExternal module
afbbc4d5b Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 141f92d64ea Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.01f92d64ea Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.00b1241431 Thanks @MoustaphaDev! - remove unnecessary ReactDOM.renderToString operationddfbef5ac Thanks @Princesseuh! - Add @types/ packages as peerDependencies