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