diff --git a/packages/integrations/cloudflare/README.md b/packages/integrations/cloudflare/README.md index a7f077dc4a5b..898949a5fcb5 100644 --- a/packages/integrations/cloudflare/README.md +++ b/packages/integrations/cloudflare/README.md @@ -25,8 +25,8 @@ It's then possible to update the preview script in your `package.json` to `"prev ## Streams -Some integrations such as (react)[https://github.com/withastro/astro/tree/main/packages/integrations/react] rely on web streams. Currently Cloudflare Pages functions are in beta and don't support the `streams_enable_constructors` feature flag. +Some integrations such as [React](https://github.com/withastro/astro/tree/main/packages/integrations/react) rely on web streams. Currently Cloudflare Pages functions are in beta and don't support the `streams_enable_constructors` feature flag. In order to work around this: - install the `"web-streams-polyfill"` package -- add `import "web-streams-polyfill/es2018";` to the top of the front matter of every page which requires streams, such as server rendering a React component. \ No newline at end of file +- add `import "web-streams-polyfill/es2018";` to the top of the front matter of every page which requires streams, such as server rendering a React component.