remix icon indicating copy to clipboard operation
remix copied to clipboard

Updating state in Suspense fallback component do not work as expected

Open sohai opened this issue 1 year ago • 0 comments

Reproduction

https://stackblitz.com/edit/remix-run-remix-8krpix

here's a working example of using only react https://codesandbox.io/p/sandbox/wizardly-villani-r74flx

System Info

System:
    OS: macOS 14.3.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 2.77 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.2 - ~/.volta/tools/image/node/18.18.2/bin/node
    Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
    npm: 9.8.1 - ~/.volta/tools/image/node/18.18.2/bin/npm
    pnpm: 8.15.1 - ~/.volta/bin/pnpm
  Browsers:
    Brave Browser: 114.1.52.126
    Chrome Canary: 125.0.6384.0
    Safari: 17.3.1

Used Package Manager

pnpm

Expected Behavior

While deferred data is still loading counter should increase every second.

Actual Behavior

Counter stays 0

sohai avatar Mar 28 '24 17:03 sohai