I visited the homepages of the 14.8 million sites in Google’s Chrome UX Report in October.

I thought jQuery would be dead, but it’s still on 53.7% of sites, and it seems to be tied quite tightly to the platform. Webflow puts it on 97.6% of its sites, WordPress on 84.9%. For contrast, React is on 10.6% of sites.

jQuery helped me get into web development, and I guess it still gets the job done even if redundant with browser standards these days…

  • thewebreport@programming.devOP
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Ran some numbers - Core Web Vital pass rates:

    • jQuery, no React - 4.17M sites - 62.2%
    • React, no jQuery - 748k sites - 65.5%

    The jQuery, no React - is mainly WordPress sites, taking that out of the equation:

    • jQuery, no React, not WordPress - 1.75M sites - 72.5%
    • jQuery, no React, WordPress - 2.42M sites - 54.8%

    So outside WordPress, jQuery sites pass more often than React sites.

    INP is where React is worse. INP is the responsiveness metric. 95% of jQuery sites have good INP, against 87% of React sites. Probably the cost of large JS bundles hydrating on load, whereas a small jQuery script costs relatively little.

    And there’s a small group of sites that run both, and predictably perform the worst of the lot with 41.8% pass rate.

    It’s not something we measure ( yet ) but does seem there’s a lot of simple brochure site that really just don’t need react, pre-rendering and a lot of the complexity that comes with it, but maybe that’s a developer convenience / preference.