diff options
author | 2025-01-27 03:46:43 -0800 | |
---|---|---|
committer | 2025-01-27 11:46:43 +0000 | |
commit | 0879cc2ce7e15a2e7330c68d6667d9a2edea52ab (patch) | |
tree | 9de62bede032ac0f196240ecc257fb0a77a7631f /packages/integrations/react | |
parent | 736b9b9d721082eb231f8da64259c399d7fea1f6 (diff) | |
download | astro-0879cc2ce7e15a2e7330c68d6667d9a2edea52ab.tar.gz astro-0879cc2ce7e15a2e7330c68d6667d9a2edea52ab.tar.zst astro-0879cc2ce7e15a2e7330c68d6667d9a2edea52ab.zip |
[ci] release (#13056)astro@5.1.10@astrojs/react@4.2.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/react')
-rw-r--r-- | packages/integrations/react/CHANGELOG.md | 22 | ||||
-rw-r--r-- | packages/integrations/react/package.json | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 28336d442..71e09c120 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @astrojs/react +## 4.2.0 + +### Minor Changes + +- [#13036](https://github.com/withastro/astro/pull/13036) [`3c90d8f`](https://github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250) Thanks [@artmsilva](https://github.com/artmsilva)! - Adds experimental support for disabling streaming + + This is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set `experimentalDisableStreaming: true` as a configuration option for `@astrojs/react`: + + ```diff + // astro.config.mjs + import { defineConfig } from 'astro/config'; + import react from '@astrojs/react'; + + export default defineConfig({ + integrations: [ + react({ + + experimentalDisableStreaming: true, + }), + ], + }); + ``` + ## 4.1.6 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 788b6e0e8..3d1e8d50d 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "4.1.6", + "version": "4.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", |