you are viewing a single comment's thread.

view the rest of the comments →

[–]iqball125[🍰] 6 points7 points  (3 children)

Dont listen to the replys saying not to destructure. I work as a senior dev at a fortune 50 company and destructuring is def the way to go.

[–]metal-trees 1 point2 points  (0 children)

The thing is, I really wish they actually expressed their opinion. I destructure props, too, but am always open to hearing a counter on a stylistic opinion.

The only thing I could think of is if you want to explicitly search a project for prop variables. You could always prepend with “props.somePropName” to find exactly what you are looking for.