Skip to content

Adds experimental support for disabling streaming - #13036

Merged
ematipico merged 14 commits into
withastro:mainfrom
artmsilva:main
Jan 24, 2025
Merged

ematipico merged 14 commits into
withastro:mainfrom
artmsilva:main

Conversation

@artmsilva

@artmsilva artmsilva commented Jan 21, 2025 •

Copy link
Copy Markdown
Contributor

Changes

This pull request introduces a new feature to the React integration by adding an option to disable streaming support. This feature aims to support libraries that are not compatible with streaming, such as Stitches.js. The most important changes include updates to the configuration options and rendering logic.

Testing

Docs

withastro/docs#10761

/cc @withastro/maintainers-docs for feedback!

* feat: add experimentalDisableStreaming to react integration

* chore: commit save point

* chore: commit save point
@changeset-bot

changeset-bot Bot commented Jan 21, 2025 •

Copy link
Copy Markdown

πŸ¦‹ Changeset detected

Latest commit: 98f6555

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added pkg: react Related to React (scope) pkg: integration Related to any renderer integration (scope) labels Jan 21, 2025
@artmsilva
artmsilva marked this pull request as ready for review January 21, 2025 20:00
Comment thread packages/integrations/react/server.js Resolved
@matthewp

Copy link
Copy Markdown
Contributor

Conceptually this makes sense as an option, and needed for most CSS-in-JS usage.

artmsilva and others added 2 commits January 21, 2025 16:43
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

@ascorbic ascorbic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I think this is a useful addition. I've just added a few comments and suggestions.

Comment thread .changeset/three-steaks-exist.md Resolved
Comment thread .changeset/three-steaks-exist.md Resolved
@artmsilva artmsilva changed the title feat: add experimentalDisableStreaming to react integration (#1) Adds experimental support for disabling streaming Jan 23, 2025

@sarah11918 sarah11918 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny suggestion for your consideration regarding the changeset! This may also apply in the docs PR itself, where some extra context could be helpful!

Comment thread .changeset/three-steaks-exist.md Resolved
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Comment thread .changeset/three-steaks-exist.md Resolved
@artmsilva

Copy link
Copy Markdown
Contributor Author

Just a tiny suggestion for your consideration regarding the changeset! This may also apply in the docs PR itself, where some extra context could be helpful!

@sarah11918 Thank you! I updated this PR and the docs PR with the new copy.

@sarah11918 sarah11918 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @artmsilva ! Approving the changeset here for docs, and I'll be looking at the docs PR shortly. πŸ™Œ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope) pkg: react Related to React (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants