Change8

@astrojs/mdx@7.0.0-beta.3

📦 astroView on GitHub →
1 features1 deprecations🔧 7 symbols

Summary

New dedicated entrypoints for the Container API were introduced for several integrations, deprecating the use of the package root for importing `getContainerRenderer()`.

Migration Steps

  1. If using the Container API, update import statements for `getContainerRenderer()` to use the new entrypoint, e.g., change `import { getContainerRenderer } from '@astrojs/react';` to `import { getContainerRenderer } from '@astrojs/react/container-renderer';`.

✨ New Features

  • Added a new `container-renderer` entrypoint exporting `getContainerRenderer()` for React, Preact, Svelte, SolidJS, Vue, and MDX integrations to prevent bundlers from bundling unrelated exports from the package root.

Affected Symbols

⚡ Deprecations

  • Importing `getContainerRenderer()` from the package root of React, Preact, Svelte, SolidJS, Vue, and MDX integrations is deprecated and logs a warning.