mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Matt Kane <m@mk.gg> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
580 B
580 B
@astrojs/react |
---|
minor |
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
:
// astro.config.mjs
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
export default defineConfig({
integrations: [
react({
+ experimentalDisableStreaming: true,
}),
],
});