Skip to content
Discussion options

You must be logged in to vote

The problem with this approach is that as soon as you refresh the page (F5) it will give you a 404 since these pages don't really exist.

Can these steps be individually accessible? In other words, can I directly access process/step2? If yes, then you can use a catch all route like process/[...step].

If you need to access step1 before step2, you can use cookies (for SSR) or local storage to keep track of the visited pages and redirect if necessary, but if this is viable or not will depend on your requirements.

If every time you access any of the steps you need to start again, do you really need this info in the URL? If you do (perhaps for navigating using the browser back/forward buttons) …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@revskill10
Comment options

@rafaelalmeidatk
Comment options

@simon-lund
Comment options

Answer selected by simon-lund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants