#is passing form as a prop a good idea ?
7 messages · Page 1 of 1 (latest)
Yes, why wouldn't it be?
If you need it, pass it.
You can also use separate forms for every step.
Depends on how you plan to use it.
thanks well i was just wondering as for using different forms I would like to just have one to keep it simple bcz we might add more sections down the road
if you only have a few components to pass through, it's fine
if you feel like it is getting repetitive and you have too many components, you can use form context:
https://mantine.dev/form/create-form-context/