I would suggest the release notes are a better link target: http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/ Developers can figure out how to download it if they are interested.
> "We set out to create a slimmer, faster version of jQuery (with backwards compatibility in mind)." Wait, isn't the whole point of a major version bump that it breaks backwards compatibility? Later on it says there are a few breaking changes, but not many apparently. Which in general is a good thing, but focusing on keeping compatibility through a major version bump seems silly.
jQuery 3.0 Released
141–150 of 164 posts
Re: jQuery 3.0 Released
#142Earlier quoted context omitted.
There are ways to do it for sure, but imagine if there was just One Obvious Way To Do It.
Don't get me going on Python in the browser... :)
2) You can use Python in the browser[2][3][4 sort of].
Re: jQuery 3.0 Released
#143Earlier quoted context omitted.
Actually, we do, since Chromium 51. See https://dev.opera.com/blog/opera-38/
Yeah you're right. Just updated stable Chrome and: NodeList.prototype.forEach forEach() { [native code] } Thank. God. Finally. Edit: HTMLCollection.prototype.forEach (which is what you'll get from other vanilla JS methods) is still missing.
Re: jQuery 3.0 Released
#144Is anybody in the HN crowd still using jQuery for new projects? If yes, why not use "vanilla" js?
2. Because jQuery provides a documented, backwards compatible, and stable API that works across multiple platforms.
Re: jQuery 3.0 Released
#145Earlier quoted context omitted.
> "We set out to create a slimmer, faster version of jQuery (with backwards compatibility in mind)." Wait, isn't the whole point of a major version bump that it breaks backwards compatibility? Later on it says there are a few breaking changes, but not many apparently. Which in general is a good thing, but focusing on keeping compatibility through a major version bump seems silly.
Backwards compatibility is still quite important in major version releases. Just look at Angular 1 to 2, Rails 2.3 to 3, and Python 2 to 3 to see examples of this.
Re: jQuery 3.0 Released
#146I would suggest the release notes are a better link target: http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/ Developers can figure out how to download it if they are interested.
> "We set out to create a slimmer, faster version of jQuery (with backwards compatibility in mind)." Wait, isn't the whole point of a major version bump that it breaks backwards compatibility? Later on it says there are a few breaking changes, but not many apparently. Which in general is a good thing, but focusing on keeping compatibility through a major version bump seems silly.
It's not a requirement.
P.S. HN users sure are big on silent downvotes these days.
Re: jQuery 3.0 Released
#147Apparently there is no migration guide to migrate from React to jQuery :(
Re: jQuery 3.0 Released
#148I would suggest the release notes are a better link target: http://blog.jquery.com/2016/06/09/jquery-3-0-final-released/ Developers can figure out how to download it if they are interested.
That was submitted yesterday and flagged as a dupe. https://news.ycombinator.com/item?id=11871658
Perhaps we should stop having major discussions when things come out as release candidates, so that we can have the major discussion on actual release? I don't know. Trying to make it work that way might just cause more problems.
Re: jQuery 3.0 Released
#149Earlier quoted context omitted.
Why is it all or nothing? We've been replacing certain parts of our vanilla js application with small React apps and it's worked brilliantly. There is a really good talk by Ryan Florence where he replaces backbone components (i think) with React components.
> Why is it all or nothing? Erm, because that's the impression I've got from the tutorials and demos. I guess a "Add $Framework to a bit of your app" isnt' sexy: the ones I've seen add their own routing and focus on SPAs. Rather than "Here's some incredibly complicated information to display, and we need to be fairly interactive over it (and how other data on the page affects it)". Would it work if you didn't have a…
>Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Re: jQuery 3.0 Released
#150Is anybody in the HN crowd still using jQuery for new projects? If yes, why not use "vanilla" js?