I don't know if you have ever had to work with forms, much less deeply nested ones. But if so, I wish you luck. Here are some things I wish I knew.
Prerequisites
- You have used Typescript.
- You have used React.
- You know hooks exist.
What is a Form?
I know this seems like overkill. Obviously we all know what a form is. But still, for some reason, breaking shit down to this level of granularity is useful.
A form is used to collect a structured set of information. This information can then be used to do stuff. We typically need to send our data over the network, so it needs to be serializable (we can only send scalar data no objects here).