Don't you miss jQuery set-oriented operations, like $('.widget-item').removeClass('.selected')?
With querySelectorAll, you have to iterate over all the matching elements. Do you use some shortcut?
With querySelectorAll, you have to iterate over all the matching elements. Do you use some shortcut?
Array.from(querySelectorAll('*')).forEach()
It is a little more cumbersome.