Fix hydration of suspense fragments that contain text nodes (#3287)
* Fix hydration of suspense fragments that contain text nodes * fix release builds * disable link deduplication * restore meta tag deduplication * Add a test for the failed hydration case * make changes to the document trait non-breaking * remove info log from server future hook * restore default implementation - this was also a breaking change * fix semver breakage * clean up server_future * Cleanup unused code * fix clippy --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
57d637184f
commit
d41ab3a756
33 files changed
+644
-222
No files matched your search
@@ -18,4 +18,12 @@ pub(crate) struct SuspenseMessage {
|
||||
#[cfg(feature = "hydrate")]
|
||||
/// The data to hydrate the suspense boundary with
|
||||
data: Vec<u8>,
|
||||
#[cfg(feature = "hydrate")]
|
||||
#[cfg(debug_assertions)]
|
||||
/// The type names of the data
|
||||
debug_types: Option<Vec<String>>,
|
||||
#[cfg(feature = "hydrate")]
|
||||
#[cfg(debug_assertions)]
|
||||
/// The location of the data in the source code
|
||||
debug_locations: Option<Vec<String>>,
|
||||
}
|
||||
Reference in new issue
Block a user