function Component({foo}) {
  'use memo if(getTrue)';
  const arr = [];
  useEffectWrapper(() => arr.push(foo));
  arr.push(2);
  return arr;
}
TODO: run the non-forget enabled version through the effect inference
pipeline.