It appears that only the first declaration is used by packages/hooks/src/useRect.ts, so it makes sense to keep that version and delete the second... HOWEVER... the function itself seems to fit better logically into the second location considering it is a utility pertaining to the DOM 🤷🏻
Declarations for
getHTMLElementClientRect()
are found in the following locations:packages/hooks/src/utils/getHTMLElementClientRect.ts
packages/utils/src/dom/getHTMLElementClientRect.ts
It appears that only the first declaration is used by
packages/hooks/src/useRect.ts
, so it makes sense to keep that version and delete the second... HOWEVER... the function itself seems to fit better logically into the second location considering it is a utility pertaining to the DOM 🤷🏻