Performance problems caused by use of offsetWidth
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 11.9k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
`offsetWidth` and `offsetHeight` both cause the browser to recalculate the layout, leading to performance problems.
Would be great to see these functions replaced by something more performant, e.g. the ResizeObserver API.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.