Implementing route based multi-step form with data router #10651
Unanswered
phoneticallySAARTHaK
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a multi-step form, and I want to make each step a separate route. Each step would only be accessible after all the previous ones are completed.
Currently, I'm using actionData in a hacky way to implement this:
Destination.tsx:
Source.tsx:
Is there an alternative to this, that is available now?
I know this could using internal react state + dynamic segments (or just internal react state).
Beta Was this translation helpful? Give feedback.
All reactions