Roadmap to v4.0 - jQuery removal 🚀 #743
Replies: 6 comments 3 replies
-
@6pac so I think we're ready for a I also assume that your |
Beta Was this translation helpful? Give feedback.
-
OK, will make sure I'm not in a hurry or distracted this time ;-) I did fix up the token, so I think we're good. |
Beta Was this translation helpful? Give feedback.
-
@6pac can you look at this one since you are the only one who has access to that 😉 Just mention the jQuery & jQueryUI drop from your website. Also note that I added the 2 new Examples you created under the Examples list, I've added them into the Other Features section... but there seems to be some issues with the new feature, I left a comment in PR #765 |
Beta Was this translation helpful? Give feedback.
-
@ghiscoding working on it but also going to spruce up the site a bit |
Beta Was this translation helpful? Give feedback.
-
@ghiscoding done |
Beta Was this translation helpful? Give feedback.
-
@ghiscoding yep I did but just very busy this week. Will fix bug and release tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Roadmap to jQuery removal (v4.0)
This is a work in progress, though I did manage to get it all working in Slickgrid-Universal and even removed jQuery entirely on that project and it works, so I know it's achievable in SlickGrid as well (here). Thanks to @MarkoBL for starting the work and making the biggest work of migrating all the core files in PR #734 (however that did not include any Controls/Plugins, so these have to be migrated too in separate PRs).
We probably don't want to release a new version 4.0 without migrating everything to vanilla JS. The goal is to make it happen sometime around June of this year.
Note all PRs (Pull Requests) should be done against the
next
branch and all Cypress E2E tests must still be passingCore (9/9, all done in PR #734, thanks to @MarkoBL)
Controls (3/3)
Plugins (19/19)
Others
package.json
/lib
folder and replace with CDN for the examples that still require it (ref PR chore: remove jQuery from lib folder, replace with CDN #771)slick.core.js
since we will target ES6 and Map is supported (ref PR chore: remove Map polyfill since we will target ES6 #759)eval()
function that was added and could be a security risk.filter()
if possible.each
that were replaced byforEach
since their previousreturn
have to be replaced withcontinue
Slick.Utils.template
withcreateDomElement
function (ref PR chore: convert html template to pure DOM create element with JS #766)passive
event listener with scroll, mouse, ... for better perf, see SO and MDN details (ref PR fix(core): set wheel/touch listeners to passive for better perf #769)passive
listener, see MDN and alternative/lib
folderAfter new Release
Beta Was this translation helpful? Give feedback.
All reactions