{"ScriptPreparationCode":"function ComponentWithInlineFunction() {\r\n const clickMe = evt =\u003E evt.preventDefault();\r\n return React.createElement(\u0027button\u0027, {onClick: clickMe}, \u0027Click me!\u0027);\r\n}\r\n\r\nfunction ComponentWithUseCallback() {\r\n const clickMe = React.useCallback(evt =\u003E evt.preventDefault(), []);\r\n return React.createElement(\u0027button\u0027, {onClick: clickMe}, \u0027Click me!\u0027);\r\n}","TestCases":[{"Name":"Inline","Code":"ReactDOM.render(React.createElement(ComponentWithInlineFunction), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"Hooks","Code":"ReactDOM.render(React.createElement(ComponentWithUseCallback), document.getElementById(\u0027root\u0027))","IsDeferred":false}]}