Spread attributes can be useful but they also make it easy to pass unnecessary props to components that don’t care about them or to pass invalid HTML attributes to the DOM . We recommend using this syntax sparingly.
Read moreWhat is a spread attribute?
Spread attributes is a JSX feature, it’s a syntax for passing all of an object’s properties as JSX attributes.
Read more