XF 2.3 Direction to include jQuery

Sheikh

New member
What's the direction to properly include jQuery in an add-on so that when the add-on is installed, jQuery is locally hosted, as it was in XF2.2?
 
It somewhat depends on what you would be using this for, but generally speaking I think it might not a be a good idea to include jQuery for an Add-on (that would use it ony many pages).

XenForo intentionally removed jQuery to improve performance.

jQuery is slower than plain JavaScript which can have negative effects on web vitals like INP.

I'd therefore try to avoid using jQuery.

Just my 0,02 €
 
Top Bottom