2 ms·
Glad to see this here. Couldn't agree more... Destructuring adds lots of noise and ceremony and makes it hard to see where a name came from. "Did this variable
by dmitryminkovsky 4y ago
Glad to see this here. Couldn't agree more... Destructuring adds lots of noise and ceremony and makes it hard to see where a name came from. "Did this variable come from state or props? Is it derived?" The result is you have to keep looking up in the code, over and over again. It's lose-lose. `props` and `state` are already pretty short words. Unless you really keep using the same reference over and over and over again, it's usually not worth introducing another name for that reference into the local scope.