You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically need to render AsyncPage and change path until chunk is fully loaded. This will lead to race condition - chunk from request will be rendered regardless of path in props.
Real world usage:
Slow internet speed and fast route change.
Programmatically redirect
Expected behavior
If path props is changed, proper chunk must be rendered, pending requests should be skipped.
🐛 Bug Report
Race condition while loading chunk
To Reproduce
Basically need to render AsyncPage and change path until chunk is fully loaded. This will lead to race condition - chunk from request will be rendered regardless of path in props.
Real world usage:
Expected behavior
If path props is changed, proper chunk must be rendered, pending requests should be skipped.
Link to repl or repo (highly encouraged)
https://codesandbox.io/p/sandbox/xenodochial-waterfall-rgl9d4
Run
npx envinfo --system --binaries --npmPackages @loadable/component,@loadable/server,@loadable/webpack-plugin,@loadable/babel-plugin --markdown --clipboard
Paste the results here:
locally:
on codesandbox:
The text was updated successfully, but these errors were encountered: