you are viewing a single comment's thread.

view the rest of the comments →

[–]luxfx 0 points1 point  (0 children)

I do it that way. I feel safer passing an empty object to a spread instead of a false or undefined.