Goodbye jQuery
Today, jQuery, a free JavaScript library that provides functions for DOM navigation and manipulation, is used on every second and on 70% of the 10,000 most visited websites. Initially included, the dependency on jQuery has now been removed from UIkit's code base. Of course jQuery can be used in combination with UIkit. However, we only write pure JavaScript, also known as VanillaJS. ;-) Admittedly, you lose some shortcuts that were possible with jQuery, but UIkit has already provided for this. Not only do you save on code, you also have many of the most common jQuery functions on board.
jQuery
$('.my-element').on('click', () => {
$(this).addClass('active');
});
UIkit
const { $, addClass, on } = UIkit.util;
const element = $('.my-element');
on(element, 'click', () => {
addClass(element, ‘active’);
});
The principle is pretty much the same and makes it relatively easy to extend the missing functionality, even without jQuery!