Loading topic
input, label, select, button) and read short TypeScript snippets. It also assumes you know that a browser submits a form as name and value pairs, using each control's name attribute. Nothing else is needed. Later chapters build o6 min readinput, label, select, button), can read simple JavaScript or TypeScript, and have seen the anatomy of a single field: a visible label, a hint, and an error message. Here we move up a level. We look at how fields relate to each other8 min readfieldset and legend, and that you know how conditional fields are hidden and excluded from the payload. Here you decide where to cut a long form into steps and what each step contains. The next chapter turns those decisions into a state machine.7 min readswitch, spreading objects) and the idea of a reducer, a function that takes the current state and an action and returns the next state. It also assumes you have seen the form state from the earlier chapters: values, touched, dirty, and e5 min readsteps array and the reducer with next and back actions. You should also know the basics of the browser History API (pushState and the popstate event).6 min readfetch and Promise6 min read