{"ScriptPreparationCode":"function ComponentSpreading() {\r\n const onClick = 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, [{...{ someArray, someText, onClick}}], \u0027Click me!\u0027);\r\n}\r\n \r\nfunction ComponentExplicit() {\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, [{ someArray },{ someText },{ onClick }], \u0027Click me!\u0027);\r\n}\r\n\r\nfunction ComponentComboSpreading() {\r\n const rest = { test: \u00271\u0027, speed: \u00272\u0027, component: \u00273\u0027 };\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, [{...{ ...rest, someArray, someText, onClick}}], \u0027Click me!\u0027);\r\n}\r\n\r\nfunction ComponentComboExplicit() {\r\n const rest = { test: \u00271\u0027, speed: \u00272\u0027, component: \u00273\u0027 };\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, [{...rest},{ someArray },{ someText },{ onClick }], \u0027Click me!\u0027);\r\n}","TestCases":[{"Name":"Spreading","Code":"ReactDOM.render(React.createElement(ComponentSpreading), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"Explicit","Code":"ReactDOM.render(React.createElement(ComponentExplicit), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"Spreading with Rest","Code":"ReactDOM.render(React.createElement(ComponentComboSpreading), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"Explicit with Rest","Code":"ReactDOM.render(React.createElement(ComponentComboExplicit), document.getElementById(\u0027root\u0027))","IsDeferred":false}]}