jQuery Dependency

if i swap out $.ajax for something like axios or fetch is jquery still a necessary dependency or could it be dropped? and if it can’t be dropped is there a roadmap for dropping it as a dependency? or maybe a better question would be what parts of jquery is ember using?

Ember currently throws if jQuery is not present while rendering in a browser, so it is still required. Much of what we used to use it for internally has been replaced with plain DOM interactions, but there are likely still a few locations that need massaging.

2 Likes

There is an RFC on making jQuery optional. It’s somewhat dated, but if your curious you can have a look here:

https://github.com/sandstrom/rfcs/blob/master/text/0000-jquery-optional.md