@astrojs/react@6.0.6

withastro/astro@astrojs/react@6.0.6Sep 16, 2026by astrobot-houston

Upgrading?

AI Summary

This patch resolves build failures involving Vue components when the React adapter is enabled, ensuring compatibility between the two renderers.

Key Highlights

  • Fixes Vue render-function components failing to build with React adapter
  • React check no longer crashes on non-React object components
  • Vue check recognizes defineComponent() with setup function

Full Release Notes

### Patch Changes

- [#17985](https://github.com/withastro/astro/pull/17985) [`7a6e7f7`](https://github.com/withastro/astro/commit/7a6e7f7174147e38731e39378e6f5b294834d207) Thanks [@astro-factory](https://github.com/apps/astro-factory)! - Fixes Vue render-function components failing to build when `@astrojs/react` is also enabled. React's renderer `check` no longer crashes on non-React object components, and Vue's `check` now recognizes `defineComponent()` components that use a `setup` function returning a render function.

Related Repositories