r/javascript • • Jul 16 '26

I stopped destructuring everything

https://allthingssmitty.com/2026/07/13/i-stopped-destructuring-everything/
84 Upvotes

50 comments sorted by

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?"

1

u/Iggyhopper extensions/add-ons Jul 16 '26

Why are you telling me this? The author is the one avoiding the little dot, I'm just giving suggestions.