In a discussion about implementing Autocomplete while avoiding jQuery (which ESLint flags with ember/no-global-jquery), merefield asks whether to use import $ from 'jquery'; or aim for a native solution. david confirms importing jQuery is acceptable as a medium-term fix, noting that core code still uses it and the ESLint rule helps track jQuery usage for eventual removal. He adds that while native browser APIs are preferred long-term, there’s no set timeline for eliminating jQuery entirely. merefield thanks him and opts not to pursue a full native rewrite for now.
You can import it as a medium-term solution - no problem. We do that in a bunch of places in core.
We’ve enabled the ESLint rule to give us a better view of how much JQuery is still being used, so that we can eventually aim to remove it completely.
So, in the long term, yes it would be much better to update any uses of JQuery to use native browser APIs. We’ve been doing that slowly over the last few years in core, but we have no specific plan or timeline on removing it.