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:
1 parent
ad40f81607
commit
d65f9a53c4
15 files changed
+249
-36
No files matched your search
@@ -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,
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user