This is the title of the webpage!
{"ScriptPreparationCode":"function ComponentWithUseCallback({ calculatedAt }) { \r\n const renderTime = React.useCallback(() =\u003E {\r\n const timeDifference = dayjs(new Date).diff(calculatedAt) / 60000;\r\n const calculatedTime = dayjs(calculatedAt).format(\u0027YYYY-MM-DD\u0027);\r\n\r\n return timeDifference\r\n ? \u0027ago\u0027\r\n : calculatedTime;\r\n }, [ calculatedAt]);\r\n \r\n return React.createElement(\u0022div\u0022, null, renderTime());\r\n}\r\n\r\n\r\nfunction ComponentWithArrowFunction({ calculatedAt }) {\r\n const renderTime = () =\u003E {\r\n const timeDifference = dayjs(new Date).diff(calculatedAt) / 60000;\r\n const calculatedTime = dayjs(calculatedAt).format(\u0027YYYY-MM-DD\u0027);\r\n\r\n return timeDifference\r\n ? \u0027ago\u0027\r\n : calculatedTime;\r\n };\r\n \r\n return React.createElement(\u0022div\u0022, null, renderTime());\r\n}\r\n","TestCases":[{"Name":"ComponentWithUseCallback","Code":"ReactDOM.render(React.createElement(ComponentWithUseCallback, { calculatedAt: \u00272023-03-01\u0027 }), document.getElementById(\u0027root\u0027))","IsDeferred":false},{"Name":"ComponentWithArrowFunction","Code":"ReactDOM.render(React.createElement(ComponentWithArrowFunction, { calculatedAt: \u00272023-03-01\u0027 }), document.getElementById(\u0027root\u0027))","IsDeferred":false}]}