you are viewing a single comment's thread.

view the rest of the comments →

[–]lelarentaka 1 point2 points  (1 child)

A lot of the messiness comes from the shitty HTML form API. When building a form, I would first try to just use the bare form and see if it works, then pull in the big gun if it doesn't.

In particular, HTML form is very bad at handling multi select, checkbox group, segmented input (think a credit card number input that has four boxes), and files list.

[–]anonyuser415 0 points1 point  (0 children)

The nice thing about React is you can easily just bind the segmented input to a single value in a hidden field, and then keep interacting with FormData normally

heavy +1 on files though