-
-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
in-discussionWe are still discussing how to solve or implement itWe are still discussing how to solve or implement it
Milestone
Description
This has been mentioned from time to time and I'd like to bring this up to seriously discuss it.
Removing jQuery brings some big advantages
- people tend to avoid Blaze, simply because it's the only dependency to jQuery
- reduce bundle size by around 70-90 kb
- do not rely to fix security issues that come with jQuery
- use browser-builtin standards do not introduce new dependencies or complex custom implementations
There are also some caveits:
- the DOMBackend basically relies on jquery to parse HTML although this might seem to not be that hard to replace, this still needs a lot of testing and especially integration testing, since this is basically the backbone of Blaze IMO
- we should first merge Faster fragment parsing #334
- we need to preserve API, because there are some builtins that heavily work similar to jQuery (like
templateInstance.$)
Also there is the question of versioning and if the jQuery removal would really have a breaking impact, which would force us towards a major bump.
What do you think?
Metadata
Metadata
Assignees
Labels
in-discussionWe are still discussing how to solve or implement itWe are still discussing how to solve or implement it