{"ScriptPreparationCode":"function ComponentComboSpreading() {\r\n const rest = {\r\n test: \u00271\u0027,\r\n speed: \u00272\u0027,\r\n component: \u00273\u0027\r\n };\r\n const onClick = React.useCallback(evt =\u003E evt.preventDefault(), []);\r\n const someText = \u0022text\u0022;\r\n const someArray = [\u00271\u0027, \u00272\u0027, \u00273\u0027];\r\n return React.createElement(\u0027button\u0027, {\r\n ...{\r\n ...rest,\r\n someArray,\r\n someText,\r\n onClick\r\n }\r\n }, \u0027Click me!\u0027);\r\n}\r\n\r\nfunction ComponentNotSpreading() {\r\n const rest = {\r\n test: \u00271\u0027,\r\n speed: \u00272\u0027,\r\n component: \u00273\u0027\r\n };\r\n const onClick = React.useCallback(evt =\u003E evt.preventDefault(), []);\r\n const someText = \u0022text\u0022;\r\n const someArray = [\u00271\u0027, \u00272\u0027, \u00273\u0027];\r\n return React.createElement(\u0027button\u0027, {\r\n test: rest.test,\r\n \tspeed: rest.speed,\r\n \tcomponent: rest.component,\r\n someArray,\r\n someText,\r\n onClick\r\n }, \u0027Click me!\u0027);\r\n}","TestCases":[{"Name":"Spreading","Code":"ReactDOM.render(React.createElement(ComponentComboSpreading), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"Not Spreading","Code":"ReactDOM.render(React.createElement(ComponentNotSpreading), document.getElementById(\u0027root\u0027))","IsDeferred":false}]}