10000 Remove jQuery · Issue #353 · meteor/blaze · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove jQuery #353
Open
Open
@jankapunkt

Description

@jankapunkt

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

No one assigned

    Labels

    in-discussionWe are still discussing how to solve or implement it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0