---
jQuery selectors were matched in native JS by `document.querySelector()` and `document.querySelectorAll()`
Pretty sure `querySelectorAll()` operates quite the same as jQuery's selector which returns an array of element objects that you can perform actions upon. The primary difference being that you'll have to run the actions in a loop over the array if you want to perform them over the entire selection. Eg:
let elements = document.querySelectorAll('li');
for(let i = 0; i < elements.length; i++) {
elements[i].addEventListener('click', e => {
console.log(`This element is ${elements[i]}`);
});
}
You could write a helper in a few lines to handle that throughout your codebase if it's commonly used.