Should isFinished be true on boot?
emulienfou opened this issue ยท 3 comments
Here is a sandbox using next.js, material-ui and React hooks where the issue occurred.
On first page load, isFinished
is never set to true
, however when you are starting to navigate it works perfectly.
Hey @emulienfou, thanks for the repro.
Yea, just looking at the source code again I think it makes sense for isFinished
to be set to true
when everything boots up.
I'll make a change and will let you know when it's ready.
Have included the changes in version 3.0.48
which was released a short time ago. Looks like the example you provided isn't behaving how I'd expect though, even with these latest changes, so I'll double-check things ASAP.
Hey @emulienfou, this should be fixed now. Seemed to be some sort of caching issue in your CodeSandbox example, once I'd meddled with a few things it started picking up the isFinished
change that was made in v3.0.48
.
I'll go ahead and close the issue now, but feel free to comment if you still need help with anything ๐