BabylonJS / Documentation

Babylon.js's documentation website
https://doc.babylonjs.com
Apache License 2.0
75 stars 234 forks source link

Using <Youtube id="xxx"/> causes Hydration errors. #862

Closed jamessimo closed 1 year ago

jamessimo commented 1 year ago

I am updating a community extension page with my own video and added the video ID in the YAML header and inline using the tag and I get these errors.

Screen Shot 2023-05-22 at 13 00 21

<img width="967" alt="Screen Shot 2023-05-22 at 12 59 15" src="https://github.com/BabylonJS/Documentation/assets/4888377/0f07c470-4a00-4382-8cce-7364e532ab43">

I can dismiss the errors and the videos do show on the page and can be played. Not sure if I need to inform the page to expect the youtube video? I used other videos from the docs and get the same issue.

Error: Hydration failed because the initial UI does not match what was rendered on the server.
RaananW commented 1 year ago

Probably something new that was added in next 13. I'll investigate. thanks a lot for letting me know!

thomlucc commented 1 year ago

PR to be merged