displaying multiple screens on same route conditionally
Unanswered
ABUL KALAM posted this in #help-forum
I am working on a Next.js project and currently, I am creating a form consisting of 3 steps(screens). On each screen, the user provides some input and based on that input, he/she is given options on next page. I am currently planning to use a single route for this purpose and display the screen and data based on
I just want to know if this is good and if not, what's the recommend approach?
searchParams conditionally like {screen=1 && <Screen1 />}.I just want to know if this is good and if not, what's the recommend approach?
2 Replies
Netherland Dwarf
@ABUL KALAM https://m.youtube.com/watch?v=lW_0InDuejU
@Netherland Dwarf <@563230508704858132> https://m.youtube.com/watch?v=lW_0InDuejU
Thanks mate. I will look into it.