withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.78k stars 2.48k forks source link

Warning: ReactDOMServer.renderToStaticNodeStream() is deprecated. #10899

Closed tjx666 closed 6 months ago

tjx666 commented 6 months ago

Astro Info

Astro                    v4.7.0
Node                     v20.11.1
System                   macOS (arm64)
Package Manager          unknown
Output                   static
Adapter                  none
Integrations             @astrojs/tailwind
                         @astrojs/react
                         @astrojs/sitemap

If this issue only occurs in one browser, which browser is a problem?

Chrome

Describe the Bug

image
Warning: ReactDOMServer.renderToStaticNodeStream() is deprecated. Use ReactDOMServer.renderToPipeableStream() and wait to `pipe` until the `onAllReady` callback has been called instead.

I find a discuss on reddit: https://www.reddit.com/r/astrojs/comments/1cdbito/libsupabase_error_v46_and_v47_warning/?onetap_auto=true&one_tap=true

What's the expected result?

no this warning

Link to Minimal Reproducible Example

https://github.com/tjx666/astro-blog

Participation

david10sing commented 6 months ago

I am still getting this issue in my project.

leonelhenriquez commented 6 months ago

I am still getting this issue in my project.

have you updated to @astrojs/react@3.3.2 ?