-
Notifications
You must be signed in to change notification settings - Fork 140
Can we remove jQuery dependency? #12
Comments
The plan is to remove jQuery yes. |
This seems to be a fair amount of work, but of course needed. Is there a plan on how to do this? Maybe we can start summarising the JS driven stuff in this issue and split them out in separate tasks?
Also, we could start the modifications based on the _s theme's vanilla JS files. |
I'm planning to experiment with a simpler alternative to #101 that skips the build process and implements everything in vanilla ES5. If that turns out to be feasible, it would offer what I expect would be a good developer experience tradeoff: no newer JS features, but easier setup / getting started experience, with no tools involved. Having two concrete PRs to look at would be a good way of reasoning about which approach we'd rather take, I expect, and I'm always happy to write code and have it thrown it away if it helps to reach a decision 🙂 |
Would it be possible to rewrite the script in vanilla JS?
twentytwenty/functions.php
Line 159 in 81b787b
The text was updated successfully, but these errors were encountered: