fix(useResizeEffect): avoid `ResizeObserver loop limit exceeded` error (#5491)
fix(useResizeEffect): avoid `ResizeObserver loop limit exceeded` error (#5491)

* fix(hook): fix Hook useResizeEffect,avoid ResizeObserver loop limit exceeded

* fix(hook): fix Hook useResizeEffect,avoid ResizeObserver loop limit exceeded

* fix(hook): fix Hook useResizeEffect,avoid ResizeObserver loop limit exceeded

* chore: improve useResizeEffect

Co-authored-by: fengxin <b6caca1439c32c23f7e770fd003858ccfe686341@kezaihu.com>
Co-authored-by: awmleer <110e3c204d89c6dbfb4db50e199774684d6f667a@icloud.com>
ant-design/ant-design-mobile,ant-design/ant-design-mobile,ant-design/ant-design-mobile,ant-design/ant-design-mobile