• Resolved teamcrisis

    (@teamcrisis)


    Hello,

    Thanks for creating this plugin. It’s very useful!

    Do you really have a dependency on jquery? Can you make your code vanilla JS? I removed jquery from loading using a performance plugin, but your plugin seems to add it back.

Viewing 1 replies (of 1 total)
  • Plugin Author gioni

    (@gioni)

    Hi! Yes, the plugin adds the jQuery code, and it’s not a plain dependency; it’s a choice. Unfortunately, no, this code will not be rewritten in vanilla JS. The only worthwhile improvement to be implemented is to load it asynchronously. There are millions of stuff on your website that really slow down the page rendering, e.g., a page builder, Google analytics, Facebook pixels, etc. IMHO, jQuery is the last thing you need to worry about.

Viewing 1 replies (of 1 total)

The topic ‘jquery dependency’ is closed to new replies.