From Dev.to
Keep invalid input separate from a successful UI result
A form can show a correct old result beside newly invalid input. That is a state bug even if the arithmetic is right. This AppUI example invalidates the previous result whenever the field changes and...
