{"ScriptPreparationCode":"\r\nfunction ComponentWithInlineFunction() {\r\n const [__, forceRerender] = React.useState();\r\n React.useEffect(() =\u003E {\r\n window.forceRerenderInline = forceRerender;\r\n }, []);\r\n const clickMe = evt =\u003E evt.preventDefault();\r\n return React.createElement(\u0027button\u0027, {onClick: clickMe}, \u0027Click me!\u0027);\r\n}\r\nReactDOM.render(React.createElement(ComponentWithInlineFunction), document.getElementById(\u0027inline\u0027))\r\n\r\nfunction ComponentWithUseCallback() {\r\n const [__, forceRerender] = React.useState();\r\n React.useEffect(() =\u003E {\r\n window.forceRerenderHooks = forceRerender;\r\n }, []);\r\n const clickMe = React.useCallback(evt =\u003E evt.preventDefault(), []);\r\n return React.createElement(\u0027button\u0027, {onClick: clickMe}, \u0027Click me!\u0027);\r\n}\r\nReactDOM.render(React.createElement(ComponentWithUseCallback), document.getElementById(\u0027hooks\u0027))","TestCases":[{"Name":"Inline Updates","Code":"window.forceRerenderInline({})","IsDeferred":false},{"Name":"Hooks Updates","Code":"window.forceRerenderHooks({})","IsDeferred":false},{"Name":"Inline Mount","Code":"ReactDOM.render(React.createElement(ComponentWithInlineFunction), document.getElementById(\u0027inline\u0027))","IsDeferred":false},{"Name":"Hooks Mount","Code":"ReactDOM.render(React.createElement(ComponentWithUseCallback), document.getElementById(\u0027hooks\u0027))","IsDeferred":false}]}