Fix ssg race condition (#3521)

* Fix server crash logging and opening fullstack apps

* Fix race condition during SSG

* move route prerendering into a separate stage

* Fix static site generation with dx serve

* only proxy the fullstack server if ssg is disabled

* test nested-suspense with ssg in playwright
This commit is contained in:
Evan Almloff authored and GitHub committed 2025-01-08 19:52:10 -08:00
1 parent 343c48f5ad
commit ecc419df0a
18 files changed
+370 -214

No files matched your search

@@ -15,3 +15,12 @@ tokio = { workspace = true, features = ["full"], optional = true }
default = []
server = ["dioxus/server", "tokio"]
web = ["dioxus/web"]
# We need a separate bin for the SSG build to avoid conflicting server caches
[[bin]]
name = "nested-suspense-ssg"
path = "src/ssg.rs"
[[bin]]
name = "nested-suspense"
path = "src/main.rs"