use queue_events instead of process_events to fix ssr issue (#4772)
* use `queue_events` instead of `process_events` to fix ssr issue * remove suspense wait from liveview
This commit is contained in:
1 parent
01db142750
commit
76319005b8
3 files changed
+3
-11
No files matched your search
@@ -208,10 +208,6 @@ impl SsrRendererPool {
|
||||
// rebuild the virtual dom
|
||||
virtual_dom.rebuild_in_place();
|
||||
|
||||
// Process any pending events that might have been triggered during the rebuild
|
||||
// This ensures things like error boundaries get a chance to run.
|
||||
virtual_dom.process_events();
|
||||
|
||||
// If streaming is disabled, wait for the virtual dom to finish all suspense work
|
||||
// before rendering anything
|
||||
if streaming_mode == StreamingMode::Disabled {
|
||||
|
||||
Reference in new issue
Block a user