Expose streaming options to choose between full prerendering and out of order streaming (#3288)
* expose streaming options to choose between full prerendering and out of order streaming * add examples to streaming_mode
This commit is contained in:
1 parent
2db758ad7b
commit
29a7325bb7
6 files changed
+149
-64
No files matched your search
@@ -9,6 +9,9 @@ use dioxus::{prelude::*, CapturedError};
|
||||
|
||||
fn main() {
|
||||
dioxus::LaunchBuilder::new()
|
||||
.with_cfg(server_only! {
|
||||
dioxus::fullstack::ServeConfig::builder().enable_out_of_order_streaming()
|
||||
})
|
||||
.with_context(1234u32)
|
||||
.launch(app);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user