remix
remix copied to clipboard
Updating state in Suspense fallback component do not work as expected
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