User should only be able to move next after the step is validation so there's no need to go back due to error. Simple and straightforward.
@yoJuicy5 ай бұрын
JQQ, this might be the most helpful video I have watched from you. Love the longer content. You could make a full series off this. Thanks for being awesome and sharing so much all the time!
@yoJuicy5 ай бұрын
recaptcha would be nice. Do you deal with spam/crawlers?
@JamesQQuick5 ай бұрын
Yay! So glad to hear that. I think I'm going to do more of these longer ones!!
@JamesQQuick5 ай бұрын
Ooh that's a good idea! I'll add that to the backlog :)
@johnpagley5 ай бұрын
Great video! Thanks for sharing your process.
@JamesQQuick5 ай бұрын
So glad you enjoyed it!
@bobbyboxer26645 ай бұрын
This!!! More of this!!! 🔥🙌🏼
@ezevalentine76105 ай бұрын
Great course, and also to achieve same aim material ui stepper does this in seconds
@Saiyugi165 ай бұрын
Hey JQQ, the side navigation is very interesting, could you go through creating Side Navigation from Scratch for sure I am interested in that, to see how you would approach it, and possibly.. an interesting twist, what about including sub steps or nested steps .. how you approach dealing with nested steps and the highlighting ?
@adityamishra56544 ай бұрын
How can we handle conditional field validations inside multistep forms in Zod since schema.shape misses out on the optional fields and objects.
@mariokrstevski88365 ай бұрын
Do you think its necessary to have a route based stepper, I would do a client component stepper, where we would have the same logic, i dont see why we need more routes like add/step-one. Having a route doesn't bring benefits unless we want to send someone directly to step-n(2,3,4 whatever)
@JamesQQuick5 ай бұрын
I don't think it's necessary. In some ways, it makes things a bit harder, but in others, it simplifies things because there is less we have to track in state I think. I definitely wanted the user to be able to refresh the page on a given step and not go back to the beginning. You could also do that with query params. For example "/add?step=one" or something like that. What do you think would be the greatest benefit of doing it all client side?
@saiguna66764 ай бұрын
your use the link right if i didn't submit the step form so can i change the link to step 3 in url it will open that form so ,react-hook-form has trigger function for this without using links we can use switch case or condition and return
@sujjee5 ай бұрын
Can be done in more better way using zustand and validating form at the time.
@JamesQQuick5 ай бұрын
Never heard of zustand. What is that and why do you love it?
@SK_Covers5 ай бұрын
Bro @@JamesQQuick, zustand is a state management library alternative to redux. Compared to redux it's very simple and easy to work.
@speedster7845 ай бұрын
@@JamesQQuick state management library
@justinleong39675 ай бұрын
Zustand is amazing
@aberbaCodes5 ай бұрын
Great points there. This implementation was unnecessarily complicated
@samiullahsheikh50153 ай бұрын
Nice content. But still there are separate backend and developer do integrate api in NextJS app. Can you please make a video how to integrate APIs in NextJS 14/15 app
@samiullahsheikh50153 ай бұрын
I would like to see how you do it
@haiderjaafer81645 ай бұрын
It's good tutorial and helpful but your way in clarify code need more simplify to be not complicated ❤❤❤
@aberbaCodes5 ай бұрын
Multi page forms that are not spa are simply done by persistenting in database
@funfstuck5 ай бұрын
yep but it becomes costly for db hosting when every user rewrite data 1-3 time
@aberbaCodes5 ай бұрын
@@funfstuck naa, that's nothing compared to data fetching traffic. This is a non-issue considering the time it takes to fill each form.
@danimusbar5 ай бұрын
Tks for tutorial, autosubscribe Please make additional tutorial like the result is becoming pdf
@ilmanmanarulqori56325 ай бұрын
its got better if we stored on url schema 🎉
@JamesQQuick5 ай бұрын
Not sure what you mean there? Can you clarify?
@ilmanmanarulqori56325 ай бұрын
@@JamesQQuick i mean use store using url params instead localstorage
@ilmanmanarulqori56325 ай бұрын
@@JamesQQuick i mean stored data on url search params, instead localstorage