You Just Need Entities That Can Die

javascript dev.to

This post is part of a series of corollaries to the Inglorious Web series. It stands alone, but the examples make more sense if you've read the architecture post first. Forms are one of those relevant cases where the Single Source of Truth principle goes to die. Not because the principle is wrong — it isn't. But because forms are volatile. They change on every keystroke. They're submitted and discarded. They have validation state, touched state, dirty state, error state — a whole parallel u

Read Full Tutorial open_in_new
arrow_back Back to Tutorials