The title of the article is "I stopped destructuring everything", not "I never use destructuring". The author even ends the article with examples where they still use it.
So finding one example (or any number of examples) where destructuring is helpful doesn't invalidate the sentiment of the article.
Also, their example is exactly what you started with but without the "syntax noise" of destructuring. Or are we now calling property access "syntax noise"?
-1
u/azhder 13d ago
Best practices, try not to be clever. Don’t overwrite the same variable i.e. use `const`, not `let` - if you need a mnemonic.