Live data from Hacker News

jQuery 3.0 Release Candidate

blog.jquery.com

1–10 of 71 posts

Re: jQuery 3.0 Release Candidate

#2
Major Changes:

.load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners.

jQuery.Deferred is now Promises/A+ compatible

Error cases don’t silently fail

Animations now use requestAnimationFrame

Massive speedups for some jQuery custom selectors

Re: jQuery 3.0 Release Candidate

#6
post #2

Major Changes: .load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners. jQuery.Deferred is now Promises/A+ compatible Error cases don’t silently fail Animations now use requestAnimationFrame Massive speedups for some jQuery custom selectors

> jQuery.Deferred is now Promises/A+ compatible

Finally. Our old codebase is using quite a lot of jQuery deferreds and, well, Promises/A+ clearly improved a lot of things API-wise.

Re: jQuery 3.0 Release Candidate

#9
post #2

Major Changes: .load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners. jQuery.Deferred is now Promises/A+ compatible Error cases don’t silently fail Animations now use requestAnimationFrame Massive speedups for some jQuery custom selectors

Is anyone using custom selectors? quick googling only returns 5+ years old results

Re: jQuery 3.0 Release Candidate

#10
post #4
post #3

jQuery sizes by version and compression: https://mathiasbynens.be/demo/jquery-size

Wow compression ends up working really well for JQuery. Almost all the post-2.0 code size increases get totally absorbed.

I'm not surprised, JavaScript is compression-friendly. Usually minification brings the file size down by about a x3 ratio, and gzipping does the same.

What always impresses me with jQuery is the amount of features they're able to pack in 250 Mb of uncompressed code. They've got browser events, ajax and a crapload of selectors. Compatible with most browsers. Oh and performance is nice as well. Kudos to the jQuery developers!

Post reply on HN