Wait for the suspense boundary above the router to resolve before sending the first streaming chunk (#3891)
* Change the suspense streaming context after suspense is resolved in the router * Wait for the suspense context before streaming the first chunk in ssr * forward more response parts * warn * extract the hydration format into a crate * Fix hydration when no data is sent * forward web and server features * Fix suspense that starts on the client * fix use_server_future on the client * Add documentation for fullstack hooks and protocol * downgrade rust edition * fix clippy * fix tests * fix clippy * Fix pure web compile * undo changes to the fullstack router example * fix formatting
This commit is contained in:
1 parent
4f74ef81d1
commit
84221f55a0
45 files changed
+988
-533
No files matched your search
Generated
+28
-1
@@ -3905,6 +3905,8 @@ dependencies = [
|
||||
"dioxus-cli-config",
|
||||
"dioxus-desktop",
|
||||
"dioxus-devtools",
|
||||
"dioxus-fullstack-hooks",
|
||||
"dioxus-fullstack-protocol",
|
||||
"dioxus-history",
|
||||
"dioxus-interpreter-js",
|
||||
"dioxus-isrg",
|
||||
@@ -3938,6 +3940,30 @@ dependencies = [
|
||||
"web-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dioxus-fullstack-hooks"
|
||||
version = "0.6.3"
|
||||
dependencies = [
|
||||
"dioxus-core",
|
||||
"dioxus-fullstack",
|
||||
"dioxus-fullstack-protocol",
|
||||
"dioxus-hooks",
|
||||
"dioxus-signals",
|
||||
"futures-channel",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dioxus-fullstack-protocol"
|
||||
version = "0.6.3"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"ciborium",
|
||||
"dioxus-core",
|
||||
"serde",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dioxus-history"
|
||||
version = "0.6.3"
|
||||
@@ -4177,6 +4203,7 @@ dependencies = [
|
||||
"criterion",
|
||||
"dioxus",
|
||||
"dioxus-cli-config",
|
||||
"dioxus-fullstack-hooks",
|
||||
"dioxus-history",
|
||||
"dioxus-lib",
|
||||
"dioxus-router-macro",
|
||||
@@ -4291,13 +4318,13 @@ name = "dioxus-web"
|
||||
version = "0.6.3"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"ciborium",
|
||||
"dioxus",
|
||||
"dioxus-cli-config",
|
||||
"dioxus-core",
|
||||
"dioxus-core-types",
|
||||
"dioxus-devtools",
|
||||
"dioxus-document",
|
||||
"dioxus-fullstack-protocol",
|
||||
"dioxus-history",
|
||||
"dioxus-html",
|
||||
"dioxus-interpreter-js",
|
||||
|
||||
Reference in new issue
Block a user