… needs slightly different structure, they will not touch the original one but work on own versions. Using values provides guarantee and a solid contract. Using memory pointers provides no guarantee and no contract.
The current best practice is to use local state to handle the state of your user interface (UI) state rather than data. For example, using a controlled component to fill out a form is a perfectly valid use of local sta…
But you don’t want to think of some clever and unique id for every input you define, who’s got time for that? I don’t know about you but I’ve got goat videos to watch.