Change8

@astrojs/preact@4.1.3

📦 astroView on GitHub →
1 features🔧 2 symbols

Summary

This patch enhances the experimental Container API by automatically including client hydration entrypoints in getContainerRenderer, simplifying the process of rendering interactive framework components.

Migration Steps

  1. Remove manual calls to container.addClientRenderer() if you were previously using it to manually register client renderers for framework components in the Container API.

✨ 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