# Using jQuery once it's removed from Ember/Discourse

**URL:** https://meta.discourse.org/t/using-jquery-once-its-removed-from-ember-discourse/177875
**Category:** Development
**Created:** [January 31, 2021, 8:18pm UTC](https://meta.discourse.org/t/using-jquery-once-its-removed-from-ember-discourse/177875 "2021-01-31T20:18:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![smrtey](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@smrtey](https://meta.discourse.org/u/smrtey)
#### Post date: [January 31, 2021, 8:18pm UTC](https://meta.discourse.org/t/using-jquery-once-its-removed-from-ember-discourse/177875/1 "2021-01-31T20:18:08Z")

</div>

About a year ago Jeff mentioned jQuery will be removed from Discourse within the next couple of years

> [@Issue with Jquery in plugin component](https://meta.discourse.org/t/issue-with-jquery-in-plugin-component/147086/4):
>
> Try to avoid jQuery, it is going to be removed from Ember and thus Discourse within the next two years. Vanilla modern JS is sufficient.

When this happens will I be able to import jquery in a script tag in the `<head>` section and continue to use my existing jQuery, or will I need to rewrite in vanilla?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 31, 2021, 11:15pm UTC](https://meta.discourse.org/t/using-jquery-once-its-removed-from-ember-discourse/177875/2 "2021-01-31T23:15:44Z")

</div>

You will always be able to add any JS library in a theme, but in general you wanna avoid those if possible so you get a theme that is lightweight.
