Remix.run Logo
layer8 2 days ago

If the only purpose is to show progress and you don’t known the total number of steps in advance, it’s better to show information about the current step and/or substep. Otherwise when your processing actually freezes, the UI would still happily show an advancing progress bar. That’s worse than even just showing a spinner animation or similar.

btown 2 days ago | parent [-]

If it froze and ceased emitting ticks, it wouldn't advance any more - but the larger point is well taken!