logic for formsfrom the perspective of different requirements is a bad idea. Especially validation.
data modelis also important. After all, for each view it would be easier to use the same properties to describe the interface, rather than different ones.
Therefore, it is worthwhile to enclose such a part of the application in a hook and then, if necessary, replace it with a library later.
More about form management in
- 1. Rendering
- 2. Forms
- 3. Events
- 4. Guards