Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery-less or jQuery-optional #3

Open
ianmstew opened this issue Sep 4, 2015 · 1 comment
Open

jQuery-less or jQuery-optional #3

ianmstew opened this issue Sep 4, 2015 · 1 comment

Comments

@ianmstew
Copy link
Member

ianmstew commented Sep 4, 2015

http://jsfiddle.net/tiagorg/5L9qxnsq/ -- see Vanilla Javascript.

The Gitter team talked about how they found hundreds of milliseconds of wins by refactoring jQuery out of heavily-used CollectionView child views. No, jQuery isn't evil, and yes, premature optimization is. But it would be interesting to see if Sesame can run alongside Backbone's no-jQuery support, and shipping a bundle less one dep has advantages besides performance.

Restricting the lib to IE >= 10 would allow for easier pure native code: https://developer.mozilla.org/en-US/docs/Web/API/Element/classList

@jamesplease
Copy link
Member

jQuery-less out of the box? Absolutely.

This was referenced Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants