Simon Hearne 8/11/2015

Be Mindful With Modernizr

Read Original

This technical article investigates a performance issue where Modernizr, a JavaScript library for detecting HTML5/CSS3 features, was found to block the browser's main thread. It explains how Modernizr's method of testing for CSS 3D transforms triggers a style recalculation and reflow, causing significant delays in rendering, especially on mobile. The post includes code analysis and performance profiling data to illustrate the problem.

Be Mindful With Modernizr

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week