DEV Community

loading...

Discussion on: Refactoring: My 6 favorite patterns

Collapse
brycedooley profile image
Bryce Author

Thanks. I did, it's using object destructuring. They do look very similar but in the "after" version there are brackets around the params.

Collapse
bennykelly profile image
bennykelly

Ahhhh, thanks for the reply, learned 2 things from this article so! Many thanks again, great article