Earlier quoted context omitted.
I don't think JQuery ever got bad. It just got unnecessary, like you said. But it took a lot of work to convince people that it was unnecessary. A charitable explanation of Sara's tweet might be that, like with jQuery, it is becoming difficult to convince new developers that React may not be necessary for their next project. The other comparative downside of JQuery was that components started to rely on it as a share…
Being used to jQuery, I really see no reason not to use it in new projects. I could learn all the new native equivalents, and even then still ending up doing more work than if I'd been using jQuery, just to save a little bit of page load time and filesize, but it would almost certainly not be worth it.
React is the new jQuery
151–160 of 206 posts
Re: React is the new jQuery
#152Re: React is the new jQuery
#153When I see this: var formname = $(this).find('.formname'); formname.empty(); formname.append(n_input); I think why not just use plain Javascript and do this: document.querySelector('.formname').innerHTML=n_input; Coders that are attached to libraries and frameworks always seem so afraid to use the tech already available. That they don't even look at how the basic solution would look like.
Re: React is the new jQuery
#154Earlier quoted context omitted.
Nah, there were always tons of alternatives to PHP. What real alternatives were there to jQuery? There were none.
I know this is a rhetorical question, but Prototype.js was pretty similar to jQuery; although jQuery won the popularity contest.
Re: React is the new jQuery
#155Earlier quoted context omitted.
I know this is a rhetorical question, but Prototype.js was pretty similar to jQuery; although jQuery won the popularity contest.
I don't presume to be an expert on history (only entered the webdev domain in 2010), but didn't prototype come out at least a couple of years after jQuery?
Re: React is the new jQuery
#156Earlier quoted context omitted.
This just isn’t true. React has been going strong for 4 years with no sign of slowing down.
I dont disagree, React has some solid underpinnings but for now VUE has some momentum, till the next one comes along. Google gave up on the idea long back. Google develops Angular but doesnt use it in any of their core products. They themselves use Google Closure library for gmail or word processor.
Re: React is the new jQuery
#157I don’t really agree for various reasons. That said, I’m not a huge fan of react, but am stuck working with a few code bases that use it. I prefer vue, but I dislike that it’s essentially a one man show.
Vue isn’t a one man show. It has a sizable team behind it.
And when compared to React, he's absolutely right.
Re: React is the new jQuery
#158React is made for building web-based applications. You can do small stuff with it, but it's often overkill.
Just because you can use a butter knife to turn a flathead screw, doesn't mean it's the right tool for the job. These days I might reach for Vue as a jQuery stand-in, but more likely, I'd use a smaller jQuery-like library, or just use straight vanilla JS, or other micro libraries. For anything big enough to deserve a build process React is absolutely my first choice.
Re: React is the new jQuery
#159> React is the new jQuery Anyone who uses "the new jQuery" as some sort of insult (as it seems Sara did in her tweet) probably hasn't been a developer for more than a few years or is just trying to sound smarter than they are by bashing an easy target. The reason jQuery got so popular is that it made common tasks so much easier than anything else at the time. Anyone who was doing web development before jQuery knows w…