• Resolved worldsdream

    (@worldsdream)


    Hi there,

    Did you move over from jQuery to Vanilla JS? Or is it still required to load jQuery on the front-end? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amimul Ihsan

    (@amimulihsanmahdi)

    Hi there,

    jQuery is required on the front-end. While we are transitioning more components to Vanilla JS, the file upload field specifically has a dependency on jQuery to function correctly.

    Thank you

    Thread Starter worldsdream

    (@worldsdream)

    Hi @amimulihsanmahdi,

    Thank you for your reply. That sounds good. I’m very happy to hear that.

    So if I add a form and don’t use the “file upload field”, it will not load jQuery anymore?

    Hi @worldsdream,

    Some others and I have also suggested that the team remove the jQuery dependency in the past (here, github, official support page), but I guess the issue is that the main form-submission.js file is around 1,700 lines long and heavily depends on jQuery (with and without file upload). Refactoring that would take hours of dev work without fixing any visible issue or adding a new feature. And, realistically, 99% of users don’t care that much about performance – or don’t even know what jQuery is. Fluent Forms is the only plugin I use that still depends on jQuery, but there aren’t many alternatives with the same level of features that don’t also rely on it, so I’ve just accepted that fact.

    Thread Starter worldsdream

    (@worldsdream)

    @frzsombor I know and understand this. However, the developers can take some time and update to Vanilla JS. It’s a change for the long game run for them and it will also benefit the users.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.