r/javascript • u/bogdanelcs • Jul 16 '26
I stopped destructuring everything
https://allthingssmitty.com/2026/07/13/i-stopped-destructuring-everything/
84
Upvotes
r/javascript • u/bogdanelcs • Jul 16 '26
View all comments
Show parent comment
5
u/heavyGl0w Jul 16 '26
How does this solve the problem any better than just keeping the context of the original object? Why are people so allergic to one little `.`?
You've invented a variable naming convention to solve a problem that wouldn't exist if your focus wasn't "how can I make sure I use destructuring?"