mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
14 lines
276 B
Markdown
14 lines
276 B
Markdown
|
---
|
||
|
'@astrojs/preact': minor
|
||
|
---
|
||
|
|
||
|
Add support for enabling `preact/compat` to Preact renderer
|
||
|
|
||
|
To use `preact/compat` to render React components, users can now set `compat` to `true` when using the Preact integration:
|
||
|
|
||
|
```js
|
||
|
integrations: [
|
||
|
preact({ compat: true }),
|
||
|
],
|
||
|
```
|