You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I bet it is already something similar to that in the validation logic but nonetheless. Wouldn't it be cool if every useField would be a tiny state machine and every useForm would orchestrate those?
I was thinking about something like in these examples.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I bet it is already something similar to that in the validation logic but nonetheless. Wouldn't it be cool if every useField would be a tiny state machine and every useForm would orchestrate those?
I was thinking about something like in these examples.
https://www.jacobparis.com/content/charting-a-contact-form-in-xstate
https://www.youtube.com/watch?v=Xa0H-vf2VuQ
Beta Was this translation helpful? Give feedback.
All reactions