Conversation
Size ComparisonDetails
✅ None of the examples has changed their size significantly. |
c39dc71 to
f657df0
Compare
|
Visit the preview URL for this PR (updated for commit f657df0): https://yew-rs-api--pr3817-domslot-debug-p3q90mow.web.app (expires Mon, 10 Mar 2025 16:03:05 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Benchmark - coreYew MasterPull Request |
Benchmark - SSRYew MasterDetails
Pull RequestDetails
|
|
I'm not sure what the motivation behind the TRAP is. It seems to be used as next_sibling placeholders? Why can't we make next sibling optional? |
Madoshakalaka
left a comment
There was a problem hiding this comment.
Tried this in a large SSR project that previously panicked over the trap, with and without release mode. Both work fine!
It is a placeholder. Note that it's only used when |
Description
Formatting the internal
DomSlotstruct for debugging could cause a panic if this was done before hydration of an element finished (There are multiple ways to invoke this from user code, such as formatting aHandle).This was only a problem in code with
debug_assertionsenabled.Checklist