Say Goodbye to Spread Operator: Use Default Composer
Briefly

When working with objects in JavaScript, it is common to need to set default values for empty strings/ objects/ arrays, null, or undefined properties.When dealing with nested objects, this can become even more complicated and require complex programming logic.However, with the "default-composer" library, this task becomes simple and easy.
Read at DEV Community
[
add
]
[
|
|
]