// @enablePreserveExistingMemoizationGuarantees:false import {Stringify, identity, makeArray, toJSON} from 'shared-runtime'; import {useMemo} from 'react'; function Component(props) { const propsString = useMemo(() => toJSON(props), [props]); if (propsString.length <= 2) { return null; } const linkProps = { url: identity(propsString), }; const x = {}; // reactive scope ends at makeArray, as it is inferred as maybeMutate return ( {makeArray(x, 2)} ); } export const FIXTURE_ENTRYPOINT = { fn: Component, params: [{val: 2}], };