Title: JQuery, why jQuery?
Last modified: December 1, 2025

---

# JQuery, why jQuery?

 *  [Vania](https://wordpress.org/support/users/twvania/)
 * (@twvania)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/jquery-why-jquery/)
 * Hello,
   I noticed that the plugin still loads **jQuery**, even though modern WordPress(
   especially FSE) no longer depends on it and uses **React** instead. Unfortunately,
   this negatively impacts performance scores in tools like Google PageSpeed.
 * When I reviewed the plugin code, the only jQuery-related usage I found was:
 *     ```wp-block-code
       jQuery(function ( $ ) {    $( document.body ).on('added_to_cart', ...);    $( 'button, :submit' ).on('click', ...);    $( 'input.mailpoet_submit' ).on('click', ...);    $( document ).on('nfFormSubmitResponse', ...);    $( document ).on('nfFormReady', ...);});
       ```
   
 * Everything done here can be easily implemented using plain JavaScript (`addEventListener`,`
   querySelectorAll`, event delegation), without loading the entire jQuery library.
 * Since WordPress core no longer relies on jQuery for the front-end, would you 
   consider removing the dependency and switching to vanilla JS? This would reduce
   unused JS, improve Core Web Vitals, and make the plugin more aligned with the
   modern WP ecosystem.
 * Thank you!

The topic ‘JQuery, why jQuery?’ is closed to new replies.

 * ![](https://ps.w.org/tiktok-for-business/assets/icon-256x256.jpg?rev=2721531)
 * [TikTok](https://wordpress.org/plugins/tiktok-for-business/)
 * [Support Threads](https://wordpress.org/support/plugin/tiktok-for-business/)
 * [Active Topics](https://wordpress.org/support/plugin/tiktok-for-business/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiktok-for-business/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiktok-for-business/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 0 replies
 * 1 participant
 * Last reply from: [Vania](https://wordpress.org/support/users/twvania/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/jquery-why-jquery/)
 * Status: not resolved