React uses Object.defineProperty
to add setters on the
value
property of <input>
DOM
elements. React expects non-programmatic "real" actions in the
browser not to trigger these setters. We have to be extra careful
that mutations from follower to leader don't cause these setters to
fire. This page sets up a test that will fail if such a setter is
ever called. To use this test, simply try typing in the input
field below. It will turn red if the setter is ever triggered.
Setter was called!