
JSX Spread Attributes
JSX spread attributes allow you to pass multiple properties to a component or element in a single, concise way. Instead of assigning each property individually, you can bundle all properties into an object and then spread that object into the element. This simplifies code and improves readability, especially when dealing with many attributes or dynamic data. For example, spreading an object like `{ id: 'btn1', disabled: true }` onto a button element automatically assigns those attributes, making component configuration efficient and clean.