We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a393f08 commit 5472b19Copy full SHA for 5472b19
2 files changed
packages/web/src/dom.rs
@@ -48,6 +48,11 @@ pub struct WebsysDom {
48
49
#[cfg(feature = "hydrate")]
50
pub(crate) suspense_hydration_ids: crate::hydration::SuspenseHydrationIds,
51
+
52
+ /// Hydration validator for debug mode - validates DOM matches vdom expectations
53
+ #[cfg(feature = "hydrate")]
54
+ #[cfg(debug_assertions)]
55
+ pub(crate) hydration_validator: Option<crate::hydration::HydrationValidator>,
56
}
57
58
impl WebsysDom {
@@ -129,6 +134,9 @@ impl WebsysDom {
129
134
skip_mutations: false,
130
135
131
136
suspense_hydration_ids: Default::default(),
137
138
139
+ hydration_validator: None,
132
140
133
141
142
0 commit comments