DioxusLabs / DioxusLabs/dioxus
SuspenseBoundary not working as advertised?
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
I am trying to use a `SuspenseBoundary` in a desktop app for showing a loading screen until my app is loaded in the background.
That does not work at all
**Steps To Reproduce**
Steps to reproduce the behavior:
- Clone this repository (minimal reproduction example): https://github.com/matthiasbeyer/dioxus-suspense-bugreport
- `dx serve`
**Expected behavior**
The progress is updated until it reaches 100%.
**Screenshots**
The percentage is not updated.
In the Devtools Inspector I can see that the `main` diff is updated once and after that, the WASM seems to crash:
But my "update the percentage" future continues to run as expected, although it is to note that the future seems to be started **twice** - which is IMO also unexpected:
**Environment:**
- Dioxus version: 0.7.3
- Rust version: 1.93.1
- OS info: NixOS 25.11
- App platform: desktop
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.