Fix hydration error suspense (#4640)

* Fix hydration of error boundaries

* add a regression test

* add more comments

* fix typos

* more typos

* fix clippy
This commit is contained in:
Evan Almloff authored and GitHub committed 2025-10-02 22:21:41 -07:00
1 parent ad40f81607
commit d65f9a53c4
15 files changed
+249 -36

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ impl<T> Clone for SerializeContextEntry<T> {
impl<T> SerializeContextEntry<T> {
/// Insert data into an entry that was created with [`HydrationContext::create_entry`]
pub fn insert(self, value: &T, location: &'static std::panic::Location<'static>)
pub fn insert(&self, value: &T, location: &'static std::panic::Location<'static>)
where
T: Serialize,
{