4 ms·
With regular dom/javscript, you can be typing into an input field and updating unrelated DOM and the typing should not be impacted much (unless you are changing
by mosdl 7y ago
With regular dom/javscript, you can be typing into an input field and updating unrelated DOM and the typing should not be impacted much (unless you are changing a lot of DOM and spiking the cpu).
But with React it has to reconciliate the input field.
- acemarke 7y ago"controlled inputs" are certainly the recommended React idiomatic pattern, but you can use standard uncontrolled inputs if you want.