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/azhder Jul 16 '26

I mean userId instead of user.id instead of user?.id

Don't blame me for your failure to understand the example. Bye

2

u/Risc12 Jul 16 '26

I understand your example, but you’re introducing new variables, and multiple language constructs instead of a single one and them I’m the one making things complicated 😂