react-wizard-primitive
react-wizard-primitive copied to clipboard
Prevent render flicker when using routeTitle
Hello,
I gave routeTitle
a try to persist the current step in the url to allow reloading the wizard without losing the state. It works really neat!
But.
When navigating to one of the next steps and reloading the browser window, you can notice a flicker while rendering the first step and immediately jumping to the currently active step (determined by the URL hash).
Here's a codesandbox with the replicated behaviour: https://codesandbox.io/s/wizard-custom-abstraction-forked-vx7y2
Is there a way to fix this?
Thanks a lot!