4 ms·
Oh that's interesting, multi-page forms are actually my least favorite form use case for react. I reach for a state machine whenever possible to manage the com
by _heimdall 3y ago
Oh that's interesting, multi-page forms are actually my least favorite form use case for react.
I reach for a state machine whenever possible to manage the complex flow of the multi-page or multi-step form, even if react is still used for custom inputs.
- throwaway60320 3y agoCheck out XState, it's really great! But it's not that necessary in my case, my forms are usually not complex statecharts, just a lot of individual and largely decoupled complex form controls - multiselects with rules, map pins, tag inputs with autosuggest, data grids etc.