#5822·dioxus

Interaction between fullstack, router, and dioxus_sdk::storage causes infinite loop

Author: SIGSTACKFAULTCreated Sep 7, 2026Updated Sep 7, 2026
Labelsbug

Problem

using fullstack, router, a suspended resource, and dioxus_sdk::storage together causes an infinite loop of re-rendering the page. Router might not actually be part of the problem. using fullstack, suspend, and storage together causes an error; i conjecture router turns this error into an infinite loop

Steps To Reproduce

Steps to reproduce the behavior:

  • git clone https://gitlab.com/SIGSTACKFAULT/dioxus-storage-resource-interaction-bug
  • cd dioxus-storage-resource-interaction-bug/attempt_3
  • dx serve
  • visit localhost:8080
  • press F12 because you won't be able to open it after the next step
  • click "set storage to 0 and go to /blog"

Expected behavior

Page loads

Screenshots with router: Image

without router: Image

Environment:

  • Dioxus version: v0.7.10
  • Rust version: 1.98.0
  • OS info: arch
  • App platform: web, firefox

Questionnaire

I'm interested in fixing this myself but don't know where to start.