summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/CHANGELOG.md22
-rw-r--r--packages/integrations/react/package.json2
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",