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

If thats the main reason why you like jquery so much why not use zepto? #22

Open
hitautodestruct opened this issue Jun 10, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@hitautodestruct
Copy link

commented Jun 10, 2019

In your jquery.html article you don't mention zepto which is basically jquuery just without all the legacy browser support.

https://zeptojs.com/

@hitautodestruct hitautodestruct changed the title If that the main reason why you like jquery so much why not use zepto? If the main reason why you like jquery so much why not use zepto? Jun 10, 2019

@hitautodestruct hitautodestruct changed the title If the main reason why you like jquery so much why not use zepto? If thats the main reason why you like jquery so much why not use zepto? Jun 10, 2019

@arp242

This comment has been minimized.

Copy link
Owner

commented Jun 10, 2019

I never tried it, and have no opinion on it either way.

It doesn't seem to get many updates though: https://github.com/madrobby/zepto/commits/master and PRs/issues seem to go unaddressed. jQuery seems to be doing better there.

jQuery is also "standard": many people already know it. That, on its own, is a good advantage IMHO.

Like I said, I have no strong opinions. That's just a quick impression.

@hitautodestruct

This comment has been minimized.

Copy link
Author

commented Jun 10, 2019

It's a jquery standard compliant library, so nothing should surprise you.
But that lack of updates is quite sad and makes sense not to use it because of that.

I agree with the points you made in the article.
But, I think the main YMNNJQ movement was when everybody used jquery for everything and it was very much overkill but it was included in every project just for the sake of 1 or two convenience dom methods.

@arp242

This comment has been minimized.

Copy link
Owner

commented Jun 18, 2019

Thanks. I'll give it a try when I got some time. In the meanwhile I'll update the article to mention Zepto and this issue.

I think the main YMNNJQ movement was when everybody used jquery for everything and it was very much overkill but it was included in every project just for the sake of 1 or two convenience dom methods.

Yeah, maybe. I actually worked on a "jQuery-ish" library which had a dependency tree between all the functions, and you could select a version which only used what you needed, and nothing more.

On the other hand, it's often easy to get these kind of convenience methods wrong if you're not careful, so there is still some value in using jQuery.

I also wish jQuery was written in a way that allowed easier copy/pasting things out of it :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.