- 🇳🇿New Zealand jweowu
Why was this done?
The non-jquery 'once' is not a drop-in replacement; code has to be modified to use it.
Just because core wants to use less jquery doesn't mean that people's Drupal sites have suddenly stopped using jquery; and that's fine. If people want to use jquery, and also keep using jquery.once(), I see no problem with that whatsoever.
The presence of the jquery.once.js file has no ill effects on sites which do not use jquery and never load that file.
Conversely, the removal of jquery.once has a significant effect on virtually every site which does use jquery.
I think this introduces a significant pain point for essentially no reason.