Performance problems caused by use of offsetWidth
オープン
- 主要言語
- JavaScript
- スター
- 11.9k
- フォーク
- 2.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
`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.
コントリビューションガイド
評価
この issue はまだ評価されていません。