// should not trigger function Component2() { const str = 'str'; return (<>{str}); } const obj = { element: <>test };