hungcung2409
hungcung2409
Can you reproduce it ?
I have the same problem. I tried to use **globalThis** in dev mode as Prisma's suggestion, but it does not work.
> Thanks both, but these workarounds don't solve my issue. In my usecase I _need_ to know about whether the parent element has been attached to the dom. Also, I...
If I understand correctly, you can use `useRef` to access to the dialog element. ``` const RenderAfterMount = (props) => { const ref = useRef(null); const cb = useCallback((node) =>...