const App = forwardRef((_, ref) => {
        passedRef = ref
        return <div ref={ref}>foo</div>
      })