Change8

@astrojs/mdx@4.3.10

📦 astroView on GitHub →
1 features🔧 2 symbols

Summary

This patch enhances the experimental Container API by adding client hydration support to getContainerRenderer, simplifying the process of rendering interactive framework components in test environments.

Migration Steps

  1. If you were manually calling container.addClientRenderer() when using getContainerRenderer(), you can now rely on the hydration entrypoint included in the returned object.

✨ New Features

  • Added support for client hydration in getContainerRenderer(), enabling client-side interactivity for components rendered via the experimental Container API in Vite/Vitest environments.

🔧 Affected Symbols

getContainerRenderercontainer.addClientRenderer