You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOM access is "F", which represents the worst as it reads, changes or binds the DOM.
What is DOM Access?
This metric estimates the number of times the JavaScript reads, changes or binds the DOM.
The more your JavaScript code accesses the DOM, the slower the page will load.
Try, as much as possible, to have an HTML page fully generated by the server instead of making changes with JS.
Try to reduce the number of queries by refactoring your JavaScript code.
Binding too many events also has a cost.
Expected Behavior
Very much Less offenders from querySelector() or querySelectorAll()
Actual Behavior
926 offenders from querySelector() or querySelectorAll(). It's so much dependent on DOM
swiper-slide-transform on div.swiper-slide.swiper-slide-next
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide.swiper-slide-active.swiper-slide-visible
.swiper-slide-transform on div.swiper-slide.swiper-slide-next
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide.swiper-slide-visible.swiper-slide-active
.swiper-slide-transform on div.swiper-slide.swiper-slide-next
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
.swiper-slide-transform on div.swiper-slide
Check that this is really a bug
Reproduction link
https://yellowlab.tools/result/gmjix2cly6/rule/DOMaccesses
Bug description
DOM access is "F", which represents the worst as it reads, changes or binds the DOM.
What is DOM Access?
This metric estimates the number of times the JavaScript reads, changes or binds the DOM.
The more your JavaScript code accesses the DOM, the slower the page will load.
Try, as much as possible, to have an HTML page fully generated by the server instead of making changes with JS.
Try to reduce the number of queries by refactoring your JavaScript code.
Binding too many events also has a cost.
Expected Behavior
Very much Less offenders from querySelector() or querySelectorAll()
Actual Behavior
926 offenders from querySelector() or querySelectorAll(). It's so much dependent on DOM
Swiper version
9.1.1
Platform/Target and Browser Versions
Chrome, Safari, Firefox
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: