As many people mentioned another thing is the dependency for frameworks like Bootstrap if you want to use dropdowns or any widgets. That is a really important part that i missed. I was thinking more about using it directly.
Hey Brad, i really appreciate your opinion So if i understood correctly you mean that we can skip js widget part from these frameworks and should create our own.. It would be only one time effort for any project because we can re use or replicate those later Please let me know your opinion and if you agree kindly create videos how to make our own custome JS widgets like Accordion etc by our own so that we don't depend on frameworks for JS widget This may give us more insight and would help us to create our own custom widgets
Good video and I pretty much agreed with everything you said. One thing that wasn't mentioned is that jQuery is excellent for supporting older browsers and backwards compatibility which still can be a pretty big deal.
Honestly though, I don't think Bootstrap is relevant either in 2018. At this point there is CSS Grid and Flexbox support in all the major browsers and that is way more powerful and easier to use than CSS frameworks like Bootstrap or Bulma. But of course, everything has it's place and there are still old apps that use jQuery that we will be supporting for a while.
Use the 'click' event and querySelector to select the Values from the Form. After that just proceed with what you wanted to do. Ex.: document.querySelector('#yourform').addEventListener('click',(e)=>{ var data1= document.querySelector('#data1') /*~or use this which will get all input's except textarea in an array:~*/ document.querySelectorAll('#yourform > input') })
I am doing your modern JS course and absolutely love it and your channel! I feel that I improved tonsss after I met your content. Thanks, mr. Brad, please keep up the excelent work :)
I used to think jQuery was obsolete until I started developing for the government and enterprise. In those cases, you often can't use the latest frameworks, build systems, or transpilers because of security policies and/or hardware limitations. More often than not, your imperatively scripting the dom the good old fashion way. In this light, one strong argument for jquery I think is being understated is how concise and readable it is compared to vanilla JavaScript. Jquery saves you so much time because so many commonly used operations are condensed into little methods that can be chained together. Don't get me wrong, if I were to start a project on my own terms, I'd probably use React. But if I'm walking into a preexisting code base, or developing for old browsers on old machines, jQuery is a god send.
Your 💯 man. I have develop for gov alot of military still uses internet explorer. jQuery takes away all the worries and it's very elegant and easy to use
JQuery is still relevant imo mainly because of the sheer amount of plugins (probably thousands), it can get you up and running really fast , great for prototyping and extremely short deadline projects. If you have the luxury of time in your project though then it makes perfect sense to skip jQuery and pick and choose only what your project needs
Webpack and NPM can get you up and running faster. npm install *enter* all my dependencies are now installed. npm run dev *enter* project is now running in development mode. That's it.
As soon as I hear you say that you have a Udemy course about a topic I just pop over and buy it. You are much easier to follow along with and learn from than anyone else I have found when it comes to these topics. Thanks for all the knowledge!
I greatly appreciate your input on this. I was one of those that learned jQuery before learning JS. Now that I've been using it for a few years I can see why it's crazy that I learned it backwards. I still use jQuery because it's what I've been used to using. That being said the last few months, I've doubled down and have begun to dig my heels into vanilla JS to master that language along with es6. Thanks for your opinion and insight, Brad! As always it's great to hear what others are thinking about these topics.
That was very informative, thanks. For me personally, the most useful thing about jQuery is being able to select multiple elements of the same class without having to loop over them to perform some kind of logic on each element.
After half year learning React, Vue and vanilla JS, i got a job. Suddenly, i find out that React, Vue, vanilla are useless if you work in real word outside of USA. Clients wants dropdown menus for many categories in eshops. They want image slider on main page, hamburger menus, shopping carts... I find out, that youtubers like Brad want you to know React, Vue, Angular, vanilla because they have so many videos on these topics. But todo lists, expanse trackers are totaly useful in real life. I bought Brad's udemy course on javascript. In almost every project he use materialize and jquery library for simple things. This course learn you prototypes, ES5 and other old features, but not learn you closures, hoisting, recursion, callstack. All important things... Today i realized these videos are not ment to help us, but make money of us.
Absolutely. Based on the numbers of sites using jQuery its king. You can do so much with by writing less code. It's really not even a huge library I combine jQuery with es6 like template literals mapping etc higher order functions. And people can't believe how fast I can produce power applications
You hit the nail on the head near the end, it’s still so much quicker and easier for beginners to use jquery. There are so many great plugins for jquery and so many code examples that all use jquery.
It takes like 1 day to learn jQuery. It's a no brainer to learn it. Absolutely everyone should learn it. The benefits you get even from just the standpoint of knowing how to read other code you come across is worth it considering how easy it is to learn.
Go to any IT job site and do a search for jquery. Stacks of jobs still requiring it. Frameworks are useful but can be overkill in some situations. Who wants to recompile an entire site for a small change. I personally love vanilla js and jquery so am probably a bit biased.
"Moving" one of the most stressful events in our life. A very timely video for me as I got asked just this question a few weeks ago. Keep broadcasting!!
Just purchased your Node Js course. I am starting loving JavaScript since your JavaScript course! Thanks for making my every concept clear. I was just confused 6 months ago.
Thanks a lot for your video. I left programming for a while (some years, actually), back in my best times as programmer (circa 2005), javascript was so simple, jquery was something new and obscure. We used js for form validation or to display a few messages or dialog boxes in a web page and nothing more... Today JS is far more complex and powerful, i have been struggling for the last 3 - 4 yrs to recover some of my skills and i simply cannot "run" at js change pace. Closures, promises, arrow functions etc..those are topics which today are still a little bit hard for me to handle (even with my background as ASM, C, php and Vb programmer), and jquery basics just "did the work" that i needed for design of basic websites. I'll follow your advice on learning ES6. I agree with you that jquery in many situations may be replaced with vanilla js, however as far as i understand, whenever you need to use styling libraries such as Bootstrap, Materialize or even datatables, jquery is a prerequisite and i don't see a change of this situation in the near future, so i think that jquery is going to be around us for a while. What do you think about this, do you see any Bootstrap or similar libraries moving away from jquery? Thanks for your content and regards from México Buddy !
I was working through Brad's Materialize course and decided use the materialize 1.0.0 beta with it. So far I've been able to follow the course easily without much issues. Really liked the fact that jQuery has been removed as a dependency in materialize 1.0.0 beta. This makes it a good candidate to use with something like angular unlike bootstrap which requires jQuery as dependency.
I am from syria and I'm living in istanbul and i habe learned wep developer from one years .just I wanna thank you for all your videos you make every thing so simple keep going and good luck
To be honest, I'm an experienced C#, SQL, JS, JQuery, Angular, CSS etc developer. I've liked your videos and found them very informative and helpful. I just bought your 'Modern JS From The Beginning' and 'Bootstrap 4 From Scratch With 5 Projects' courses. And, I believe I'll learn some good things from them too :) Thank you for the videos and courses :) Have a nice day :)
*Vue* is the perfect modern alternative for *JQuery* in my opinion. Vue is comparable in size, easy to reason about, and it’s fairly trivial to switch small pieces of functionality to Vue without rewriting your HTML in JavaScript and adopting a build system if you don’t have the bandwidth. This all makes it pretty compelling to consider.
No, I would not advise new programmers to learn a tough language like JS BEFORE learning jQuery bc simplicity and elegance will win every time. And jQuery will evolve as well, already allowing users to customize the library itself and hence the size. Bottomline: jQuery rocks. Its simple, easy and it works. I see your point here but it mainly comes from React and Angular popularity. I would be more hesitant to go all in on vanilla JS. jQuery is likely to advance too. Cheers. Oh, and I do love your work, it is always great and your opinions and preferences are thoughtfully considered as well. Please keep up the great work.
I think it is great for simple front-end, i mean if you are focusing more on back-end development beacuse its really easy to learn and it will make your front-end stuff easier since you want to focus more on back-end routing, authentication and this kind of stuff
Great video! This is really helpful to someone like me who is trying to get back into web. I started learning JQuery back in the day, but there is so much more now it's been a lot to take in and know what's going to be useful in todays market.
Even tough, there is a lot of talk in Dev community, about jQuery being dead, I would like to say that there are hundreds/thousands of established companies who are still using jQuery, simply because it is easier and cheaper for them to stick to it, rather than migrate to new platform/technology such as Angular, React or Vue. For this reason, I think jQuery will still be relevant in next 5-10years, at least.
thanks for taking an objective view on the question! It may seem like a silly one to folks neck deep in React or Vue, but there are lots of benefits I think we can still get out of jQuery (and plenty of older sites still built on it)
Happy 🐣 dude you’re amazing!! You’re videos help us a lot!! And you videos talking about you give me really strong mental and energy to improve myself and do it what I want to be !! See you somewhere mate !!!
Hi Brad, I just want to thank you for your MEAN Front-to-back series, as a thank you.. I have purchased "Modern JavaScript From The Beginning" course on udemy(which of course I liked and hope will teach me something new.). Thanks again.
I very good video. An honest and sincere one with depth and explanation. I have used jQuery for a few years now, but I've just been opened my eyes to es6 by yourself and others. Not to mention to learn node.js Javascript is imperative. I will definitely take your course! Thank you for the video.
jQuery is so deeply ensconced especially in areas with ongoing development for any length of time that it will continue to be relevant. It's not like the heart breaking scourge of early IE herpes that had defiantly persisted resulting in mutated development in order to nurse along its festered blight, though unified library it was able to take a bit of the edge of the festered IE stench. Would I learn jQuery front to back - NO. Do you need to know what you are looking at when you encounter it - YES.
Hi Brad: I totally agree with you: jQuery is still relevant in Y2018, though it is fading. Another reason I think is because many libraries are dependent on jQuery ... latest Bootstrap 4 is a good example .. then Bootstrap is so popular ..It is very hard for any wide spread technology to be eliminated ...
I basically have the same opinion as you, Brad, but I came in the comments section to see a different point of view. By the way, I bought your Bootstrap 4 course and it's awesome. ;) requires a bit more explanation here and there, but I manage my curiosity with Google. Great content, both here and on Udemy.
Just started to learn javascript about 4 months ago now i am familiar with it and it was time to start learning some framework to improve frontend i found that jquery for newbies alot easier to learn so i tryed and liked it but i also looked for angular or react and ended up choosing vue for simplicity. The big point is javascript libraries can get alot time to be specialized on it and if you choose another one on the long run you will need to learn everything again. The point about Vue is that is simple and straight forward integration with the code specialy for begginers like myself maybe this is the future of all the frameworks "less code is more" sometimes
6:51 Try doing this with pure javascript and compare the amount of code: $('div:has(span):first, div:contains(hello)').addClass('class').css({color:'red', display:'block'}).show(400) SPOILERS: It'll take you about 30 lines of code and half an hour. 7:10 Try this with pure Javascript: $('multiple_selector_1').closest('div').appendTo('multiple_selector_2').addClass('class') SPOILERS: make sure you count the amount of FOR loops you used. 9:05 Try this delegated event with pure Javascript: $('multiple_selector').on('change input', 'input, select, textarea', function(evt){ console.log( $(this).val() ) }) SPOILERS: 1 hour of work to get it right. TL;DR: Of course it's still relevant, and it will keep being relevant simply because it allows to do a lot of work in much less time and with very few lines of code.
If you want to minimise LOC and spend less time doing DOM manipulations then stop writing code that does DOM manipulation altogether. Delegate that task to one of the many modern libraries and frameworks that have battle-tested, elegant approaches to templating without the need to write code and manage the state of your view manually. Spend that time doing something more important.
Those frameworks are not enough unfortunately. They cover common use cases, but if you want to build specific UI behavior you'll have to manipulate the DOM anyways.
Hr Gwea Agreed. I've used closest then findNext for Dom traversal. Sure I could have written plain JS with dynamic data attribute mapping to access elements, but jQuery is a convenience. Most developers are familiar with jQuery. I do use document.querySelectorAll etc and other modern JS alongside jQuery. In some apps I have created another alias instead of the $ variable and wrapped it so that it could later be replaced, but... I cannot tell you how many enterprise apps that are shared and use jQuery where I have adapter methods because I use but cannot change another groups code/library where there are requests made to change order committees, and QA staff who have to test other applications that would be affected by removing jQuery. Believe it or not we finally upgraded an app in 2017 that required IE9 in quirks mode and heavy doses of jQuery, jQueryUI and other plugins because the vendor didn’t support other browsers and newer IE. It wasnt as simple as replacing the system with another because of the amount of resources, data and inter dependency with other apps. The company finally moved the platform to support mobile and modern browsers. People would be amazed at the number of libraries in use that directly or indirectly use jQuery. I do agree with the video author in learn jQuery, but also modern Javascript. To newer developers and detractors of jQuery it's not always as simple as stop using jQuery and start using ES6. Some developers are constrained between vendor apps and IT policy of locking browser updates and support.
But you will still have those 30 lines of code with jQuery, only in your main file it would be more readable, but performance wise i think its the same if not even worse when using jQuery..
you are one of the most awesome teachers for coding...i think you should create something like laracasts but for javascript where you could post short length courses...rather than those long courses from udemy
For me personally JQuery's relevance comes down to 3 questions. 1). Do i need to make and special allowances for IE? If the answer is Maybe. I instantly pickup JQuery. Have a few sites that i have to maintain that still gets a fair amount of IE 7 traffic on them (legit traffic and they are low traffic sites). Dispite the warnings of "Optimized for blah". 2). Is there a plugin already made that will get me 50% of the way to my end result (example jquery's datatable/fullcalendar/Jquerui/bootstrap/Materialize)? If yes I will use it. 3). If there was no plugin will creating one be easier in raw or jquery? This one i end up having to look at a lot of the specs of what i'm doing. It normally ends up 50/50. Over all for me question 1 is normally almost yes. Cause most of what i have to do is Ajax and i'm given specs that require me to ensure functionality in IE (not edge). So why reinvent the wheel?
How about for JQuery UI functionality like date pickers, calendar widgets, and the table plugin? If you don't use JQuery UI for these what would you use, instead?
So here are several issues that I contend with when looking at something like this: 1) Without jQuery, for each action I want to take that jQuery natively does, I have to either download a new lib that does it or I have to write it from scratch. 2) Given that time = money, when doing this for a living, all the time you spend researching, installing, learning and/or modifying a new lib or debugging / testing roll your owns, is money out the door that you're not getting back. 3) As stated so many times here, with such a huge dependence on jQuery out in the world, not learning / using it is going to be problematic for you unless you are writing all new stuff.4) Older browser support. In most corporate and government environments, you are not going to be working with the newest up to date browsers. You're still going to be dealing with the likes of IE 7/8/9, legacy versions of FF, Safari etc. In those cases, you're screwed.
Great video. JQuery is relevant. It's just an option really. ES6 basically took everything that worked for JQuery and bundled it into it's own "engine". I think JQuery is still very relevant as long as the team behind continue to develop around it. I think we miss the point when we think that JQuery is just a substitute for vanillaJS. In many ways it was... but that was their goal back then I guess. Isn't it worth keeping up with the guys that said "hey. JS is missing stuff. Let's build JQuery". What if they come up with more useful functionality that we aren't considering because right now it seems as if JQuery and vanillaJS have the same goals? Anyway... I personally think that the most meaningful reason one would have to shift to vanillaJS is optimization and performance. But that really depends on your project, goals and personal preferences really (at least at this stage).
Thanks, very useful. Love your content. For some reason you seem to be able to explain difficult concepts in a beginner-friendly way. Calm, taking your time and not rushing anywhere. Thanks again! :-)
Yes it is still relevant, and the tight deadlines in this industry make sure that it stays that way. For a 4-8 week project that does not require much app like features, jQuery and its plugins are usually a no brainer if you want to deliver the product in time and within the budget. Of course it would be a different story if you actually had the luxury of extra time, but welcome to the real world: you almost never have it.
I can build a better faster project using react, webpack, npm. If I want a nodejs plugin I can install it using npm. Webpack and project.json to manage my project and it's dependencies. I can send that project to another developer and all they need to do is `npm install` and it will install my dependencies for me.
Thank you for this. I'm a designer who learned that jQuery was easier than JS (ES5). I still use it, though still learning JS (ES6 now) and the rest of the 'stack'. Maybe a future dev convert from design. =P Though you suggest using specialized libraries, I would think that one library that can do all the things several specialized libraries can do would be ideal. In the case where there is one or two libraries needed, that makes sense, but if I have a stack of six specialized libraries...I'd default back to jQuery to do all of it.
jQuery's killer app was that you could write code once and run it on every browser at the time. Since IE went to Edge all modern browsers handle JavaScript pretty similarly. jQuery even admitted this when v 2.0 eliminated much legacy IE support. But jQuery remains a large one-size-fits-all library. But we are all aware that 80% of our users only use 20% of the features we build. jQuery is no different. So I think this video was a great introduction of some very specific tools to do very specific things. Always use the right tool for the job. If I'm building a website with some basic interactions but not a lot of CRUD functionality, a modern framework is overkill, and jQuery might be the best tool here.
I enjoy developing in vanilla JS more than I enjoy developing jQuery, however, as others have mentionned, it is useful in projects with very short deadlines. I was working on a project as a student where I almost spent all my free time on, and still didn't meet my deadlines eventhough I was using jQuery, and the syntax of most things is just quicker, be it Ajax, using dollars instead of querySelector, just seems quicker to write. However, I say it again, I hate its performance hit as such a heavy library to load, and I enjoy vanilla JS way more.
I would really love to get rid of jquery in my site (smaller and faster is what I am thinking) - I just don't know javascript well enough to rewrite the 20 or so functions. I think I can figure it out since the vast majority of the functions are literally just DOM manipulation (adding and subtracting CSS classes more than anything)... thanks for this! I have been inspired.
Just started a new project using jquery and i think it still kicks. I will replace it in a few months soon, as i find time for better solutions then. But for a quick mvp it rocks
jQuery is great in 3 scenarios, cross browser support, if you don't have a transpiler for es6 to es5, and if you just need quick dom manipulation and ajax. jQuery is my go to when I'm doing simple web app/site without a lot of user interaction.
Thanks, Brad. Don't worry about having a particular view when you have such a strong justification for it. What you said is absolutely logical and practial.
I was just thinking about this issue. I still would like to learn it because it exists out there in projects you come across in the industry. It's important to understand what I'm looking at.
Great topic! I still use jQuery, but in a very limited capacity. I could easily replace all jQuery code I write with plain JS, but I don't because jQuery is always a dependency on some other package(s) I use so it's there anyway, why not use it?
I've got a question - why do we look up for negative '1' value of Indexof() method on an element? Can't we just compare it to '0'? Is it because it creates an array of letters we iterate through and '0' is the first character?
I use it for ajax and dom manipulation. Because it's just easy. I'm working on learning angularJS right now. I like it somewhat, It's cleaner for one thing, but the file system does tend to get cumbersome with the amount of files needed.
3 years ago when I had just started coding I learned some jQuery as part of a course but have I never used it since. It was starting to go out of vogue at that time. I think you are correct that it is mostly only used in legacy websites now.
Great video, with a very diplomatic ending. I'm hoping to do a response video within the next few weeks. Basically, I think jQuery is for the trash can. However, very respectfully, I don't think you're going quite far enough with this one. I happen to think that the very concept of using frameworks is for the chopping block. Anyway, that's for another day. In the meantime - thanks for this interesting video.
Wow, you heard the man! Always learn jQuery first! Even before folks learn to use a web browser, they should learn jQuery! Just kidding of course! Thanks for another great video! I especially appreciated how he laid out the jQuery command beside the vanilla JavaScript command, that is helpful for a noob like me! I am of course subscribed with alert Bell turned on and thumbs up!
Good Points. Im excited if new developers are still going to learn jQuery (before JS), because its much easier for beginners. I think (not only) because of that jQuery is still gonna stay for a long time. But its our good ol' friend.
In jQuery I put most of my code inside $(document).ready function. How do you recommend to do that in javascript? Is my dom manipulation JS code going to work when my is in the tag? Or do I need to move all my javascript code after the tag?
Dear Brad, Your presentation was truly compelling. My concern is, we are having this discussion because of JQuery's maturity. New Frameworks with different flavors entering the space offer novelty. Soon too, they will reach 'maturity '. We'll then seek to move on to somethings else. The second issue is the fact that Cross-browser issues remain with ES6! I need to bring in 'babel, etc., to sort that with ES6! As long as jQuery remains supported, everything else (React, Vue, Angular etc.) may just be playing catch-up until their maturity and fadeout. Any take on these?
For me the number one reason why jQuery is still relevant is simply not-so-old-but-still legacy app's. If you're a professional Web Developer working with a pre-existing corporate app that was built not so long ago, chances are that it uses jQuery and those big legacy apps won't migrate to more recent frameworks in the blink of an eye or just because new frameworks/libraries showed up in the more recent years. Of course this reason will fade away more and more with time. I'm working with a mix of legacy app and new projects and I still have to use jQuery quite often.
Hi Brad, I feel it's still quite useful. I recently worked on a Web application and it was easy to use jQuery interested if writing big line of codes using vanilla JavaScript.
Just a question for these. I develop in a corporate environment. I'm used to jquery and I was always under the belief that the overhead for the javascript file really was on initial load. Which only happens once a week when I do an incremental update of the project. All subsequent page loads would then just load from the cache? So should I be so worried about including the library?
I made my first website a couple of weeks ago where I did a lot of dom manipulation and jquery was super useful. But things like react use virtual doms?
Hi Brad, I dont know whether you would be able to see my comment or not But i have one query... If we are using Materialize or Bootstrap we would have to include jquery anyway I was wondering why these css frameworks have not yet started using vanilla js to get rid of inclusion of jquery, eventhough we dont want to use it
If i'm not wrong es6 doesnt support adding event listeners to dynamically added elements very well. Jquery "on" syntax has a built in method for this. Also i'm still having some trouble on posting to certain API's with fetch.
sait cihangir Aldemir Sure it does! Do you know what event delegation is? That's what the second argument in the .on method is doing, and it's very easy to replicate in ES2015 (i.e., ES6) if you understand how it works.
Event delegation? What is it sir. İ didn't say it does not support, i just said doesnt support very well. My statement is based on problems i run into previously. It didnt work well for me. Maybe jquery comes handy and i m too lazy to try new things.
If I disagree with everything you said, then I disagree that I can disagree with everything you said. Thanks for helpful video. Just once every year or two I have a need to work on websites and it's like relearning everything from day one.
I'm working my first job as a FED and we don't use jQuery. We use React since it's much faster. However, we do use jQuery when we use bootstrap but we don't use it directly.
jQuery is still necessary (like it or not) if you want full functionality in Bootstrap 3.3, but Bootstrap 4 makes it entirely optional. This could represent the end of jQuery's popularity on new site development. Given the emergence of front end frameworks like Vue, Angular or React, it seems that DOM manipulation is less and less necessary. Between ES6, Axios and Lodash, there is very little need for jQuery any more.
Still using it, Mainly for Microsoft Office 365 since it's really easy for DOM manipulation and REST api queries.. Hopefully to adopt es6 and fetch soon...
How is `document.querySelector('.someclass')` or `document.querySelectorAll('.someclass li')` easier or better to use repetitively than `$('.someclass')`?
There are still huge number of JS widgets, including commercial, written in jQuery. Virtually all templates from ThemeForest are jQuery. For developers who need to get work done with premade designs and components, either because they do not have design skills, or the core of the project is more business-logic focused (even if its implemented in full modern ES6) so there is no value in spending time making own designs, jQuery is inevitable dependency.
Watching in december 2019. Almost Christmas. We still have some websites in our company written with JQuery, but today we only need to maintain it whenever a bug is found or something like that.
I just used it today. If I don’t have jquery I wind up creating the couple of functions I need for don manipulation. Sometimes you can’t use angular or vue because of requirements of the project
Hey Brad . Thanks for everything you are doing . Every lesson you make , give me a push to learn more and more . I started learning web development . i learned by myself basics of Python HTML CSS JS and im planning to study data structure and algorithms and SQL . But i have problem i dont know how i can put all this stuff together to build websites and how to deal with servers . im so confused . we will be happy if you can make one video talking about steps to build website and THANKS again for everything
Thanks for this video! I'm new to Javascript (now learning the DOM stuff) and was wondering if JQuery still relevant because I've heard that it's bloated. I think I'll go for the pure vanilla path first. Thank you, sir! :)
I'm not using jquey ... Never used it .... But I've seen that jQuery is irrelevant since 2016 so I think that your video makes sense ... I do really think that vanilla JavaScript is taking over quite rapidly and plus all the frameworks are based on it so it makes sense to use vanilla JavaScript to get used to it.
Hi Brad thank you for videos you helped me a lot because, nowadays many things flooded into web development . Sometimes very hard to choose between each other. You are very helpful for web developers. I would like to see more videos about vue js. I know that you can provide very good quality of that stuff.
Learn AJAX and XHR like a skip through!! Fetch is the new API which is a lot easire, also, if you are going to use frameworks like Angular, you will hardly use both AJAX and FETCH, it has it's own HTTP module.
As many people mentioned another thing is the dependency for frameworks like Bootstrap if you want to use dropdowns or any widgets. That is a really important part that i missed. I was thinking more about using it directly.
Hey Brad, i really appreciate your opinion
So if i understood correctly you mean that we can skip js widget part from these frameworks and should create our own.. It would be only one time effort for any project because we can re use or replicate those later
Please let me know your opinion and if you agree kindly create videos how to make our own custome JS widgets like Accordion etc by our own so that we don't depend on frameworks for JS widget
This may give us more insight and would help us to create our own custom widgets
Good video and I pretty much agreed with everything you said. One thing that wasn't mentioned is that jQuery is excellent for supporting older browsers and backwards compatibility which still can be a pretty big deal.
Honestly though, I don't think Bootstrap is relevant either in 2018. At this point there is CSS Grid and Flexbox support in all the major browsers and that is way more powerful and easier to use than CSS frameworks like Bootstrap or Bulma. But of course, everything has it's place and there are still old apps that use jQuery that we will be supporting for a while.
Use the 'click' event and querySelector to select the Values from the Form. After that just proceed with what you wanted to do. Ex.: document.querySelector('#yourform').addEventListener('click',(e)=>{ var data1= document.querySelector('#data1') /*~or use this which will get all input's except textarea in an array:~*/ document.querySelectorAll('#yourform > input') })
Yes, JQuery still saves you of bunch of gotchas. Even in this video at 7:45 `element.remove()` does not exist in IE11, etc...
Your Udemy JavaScript Course was amazing. I learnt more from that course than I ever did during 3 years of my college education.
I am doing your modern JS course and absolutely love it and your channel! I feel that I improved tonsss after I met your content. Thanks, mr. Brad, please keep up the excelent work :)
I used to think jQuery was obsolete until I started developing for the government and enterprise. In those cases, you often can't use the latest frameworks, build systems, or transpilers because of security policies and/or hardware limitations. More often than not, your imperatively scripting the dom the good old fashion way.
In this light, one strong argument for jquery I think is being understated is how concise and readable it is compared to vanilla JavaScript. Jquery saves you so much time because so many commonly used operations are condensed into little methods that can be chained together.
Don't get me wrong, if I were to start a project on my own terms, I'd probably use React. But if I'm walking into a preexisting code base, or developing for old browsers on old machines, jQuery is a god send.
Your 💯 man. I have develop for gov alot of military still uses internet explorer. jQuery takes away all the worries and it's very elegant and easy to use
JQuery is still relevant imo mainly because of the sheer amount of plugins (probably thousands), it can get you up and running really fast , great for prototyping and extremely short deadline projects.
If you have the luxury of time in your project though then it makes perfect sense to skip jQuery and pick and choose only what your project needs
Webpack and NPM can get you up and running faster.
npm install *enter*
all my dependencies are now installed.
npm run dev *enter*
project is now running in development mode. That's it.
No
As soon as I hear you say that you have a Udemy course about a topic I just pop over and buy it. You are much easier to follow along with and learn from than anyone else I have found when it comes to these topics. Thanks for all the knowledge!
I greatly appreciate your input on this. I was one of those that learned jQuery before learning JS. Now that I've been using it for a few years I can see why it's crazy that I learned it backwards.
I still use jQuery because it's what I've been used to using. That being said the last few months, I've doubled down and have begun to dig my heels into vanilla JS to master that language along with es6.
Thanks for your opinion and insight, Brad! As always it's great to hear what others are thinking about these topics.
Best purchase I ever made was buying your Udemy JavaScript course. I still review it to sharpen my skills.
That was very informative, thanks. For me personally, the most useful thing about jQuery is being able to select multiple elements of the same class without having to loop over them to perform some kind of logic on each element.
I believe you can actually do that using the Map function on arrays now without jQuery.
After half year learning React, Vue and vanilla JS, i got a job.
Suddenly, i find out that React, Vue, vanilla are useless if you work in real word outside of USA.
Clients wants dropdown menus for many categories in eshops.
They want image slider on main page, hamburger menus, shopping carts...
I find out, that youtubers like Brad want you to know React, Vue, Angular, vanilla because they have so many videos on these topics.
But todo lists, expanse trackers are totaly useful in real life.
I bought Brad's udemy course on javascript. In almost every project he use materialize and jquery library for simple things.
This course learn you prototypes, ES5 and other old features, but not learn you closures, hoisting, recursion, callstack.
All important things...
Today i realized these videos are not ment to help us, but make money of us.
Absolutely. Based on the numbers of sites using jQuery its king. You can do so much with by writing less code. It's really not even a huge library I combine jQuery with es6 like template literals mapping etc higher order functions. And people can't believe how fast I can produce power applications
I swear I was googling Should I use jQuery in 2018 20 minutes ago and then you post this, you read my mind Brad..
Same here. Brad has come in at the right time many times
Law Of Attraction
Btw, what you have found on online resources regarding this topic?
same here....
Learn it guys, it's awesome!
You hit the nail on the head near the end, it’s still so much quicker and easier for beginners to use jquery. There are so many great plugins for jquery and so many code examples that all use jquery.
It takes like 1 day to learn jQuery. It's a no brainer to learn it. Absolutely everyone should learn it. The benefits you get even from just the standpoint of knowing how to read other code you come across is worth it considering how easy it is to learn.
Absolutely bro
Go to any IT job site and do a search for jquery. Stacks of jobs still requiring it. Frameworks are useful but can be overkill in some situations. Who wants to recompile an entire site for a small change. I personally love vanilla js and jquery so am probably a bit biased.
"Moving" one of the most stressful events in our life. A very timely video for me as I got asked just this question a few weeks ago. Keep broadcasting!!
I have this course for a while and I still learning it. The course is really good if you wanna learn JS, it would be a fantastic start.
Just purchased your Node Js course. I am starting loving JavaScript since your JavaScript course! Thanks for making my every concept clear. I was just confused 6 months ago.
Thanks a lot for your video. I left programming for a while (some years, actually), back in my best times as programmer (circa 2005), javascript was so simple, jquery was something new and obscure. We used js for form validation or to display a few messages or dialog boxes in a web page and nothing more... Today JS is far more complex and powerful, i have been struggling for the last 3 - 4 yrs to recover some of my skills and i simply cannot "run" at js change pace. Closures, promises, arrow functions etc..those are topics which today are still a little bit hard for me to handle (even with my background as ASM, C, php and Vb programmer), and jquery basics just "did the work" that i needed for design of basic websites. I'll follow your advice on learning ES6. I agree with you that jquery in many situations may be replaced with vanilla js, however as far as i understand, whenever you need to use styling libraries such as Bootstrap, Materialize or even datatables, jquery is a prerequisite and i don't see a change of this situation in the near future, so i think that jquery is going to be around us for a while. What do you think about this, do you see any Bootstrap or similar libraries moving away from jquery? Thanks for your content and regards from México Buddy !
Very interesting. The practicality and conciseness of the jquery API comes through vs. the design-by-committee javascript.
I was working through Brad's Materialize course and decided use the materialize 1.0.0 beta with it. So far I've been able to follow the course easily without much issues. Really liked the fact that jQuery has been removed as a dependency in materialize 1.0.0 beta. This makes it a good candidate to use with something like angular unlike bootstrap which requires jQuery as dependency.
I am from syria and I'm living in istanbul and i habe learned wep developer from one years .just I wanna thank you for all your videos you make every thing so simple keep going and good luck
I'm very glad I found this video while looking for jQuery tutorials... made me rethink my web application totally.
your courses are legendary ,i don't know how i could go this far without them.
And i think we need a traversy in each programming field.
To be honest, I'm an experienced C#, SQL, JS, JQuery, Angular, CSS etc developer. I've liked your videos and found them very informative and helpful. I just bought your 'Modern JS From The Beginning' and 'Bootstrap 4 From Scratch With 5 Projects' courses. And, I believe I'll learn some good things from them too :) Thank you for the videos and courses :) Have a nice day :)
*Vue* is the perfect modern alternative for *JQuery* in my opinion. Vue is comparable in size, easy to reason about, and it’s fairly trivial to switch small pieces of functionality to Vue without rewriting your HTML in JavaScript and adopting a build system if you don’t have the bandwidth. This all makes it pretty compelling to consider.
I actually took Brad's JS course on Udemy and it's absolutely awesome! I strongly suggest it!
No, I would not advise new programmers to learn a tough language like JS BEFORE learning jQuery bc simplicity and elegance will win every time. And jQuery will evolve as well, already allowing users to customize the library itself and hence the size. Bottomline: jQuery rocks. Its simple, easy and it works. I see your point here but it mainly comes from React and Angular popularity. I would be more hesitant to go all in on vanilla JS. jQuery is likely to advance too. Cheers. Oh, and I do love your work, it is always great and your opinions and preferences are thoughtfully considered as well. Please keep up the great work.
Agree 💯
I think it is great for simple front-end, i mean if you are focusing more on back-end development beacuse its really easy to learn and it will make your front-end stuff easier since you want to focus more on back-end routing, authentication and this kind of stuff
The way you explain things is superb, lots of love and respect from India, learning from you
Great video! This is really helpful to someone like me who is trying to get back into web. I started learning JQuery back in the day, but there is so much more now it's been a lot to take in and know what's going to be useful in todays market.
I was learning selectors in Jquery and coincidently you uploaded this....great video...
Even tough, there is a lot of talk in Dev community, about jQuery being dead, I would like to say that there are hundreds/thousands of established companies who are still using jQuery, simply because it is easier and cheaper for them to stick to it, rather than migrate to new platform/technology such as Angular, React or Vue. For this reason, I think jQuery will still be relevant in next 5-10years, at least.
thanks for taking an objective view on the question! It may seem like a silly one to folks neck deep in React or Vue, but there are lots of benefits I think we can still get out of jQuery (and plenty of older sites still built on it)
Happy 🐣 dude you’re amazing!! You’re videos help us a lot!! And you videos talking about you give me really strong mental and energy to improve myself and do it what I want to be !! See you somewhere mate !!!
Hi Brad,
I just want to thank you for your MEAN Front-to-back series, as a thank you.. I have purchased "Modern JavaScript From The Beginning" course on udemy(which of course I liked and hope will teach me something new.). Thanks again.
I very good video. An honest and sincere one with depth and explanation. I have used jQuery for a few years now, but I've just been opened my eyes to es6 by yourself and others. Not to mention to learn node.js Javascript is imperative. I will definitely take your course! Thank you for the video.
jQuery is so deeply ensconced especially in areas with ongoing development for any length of time that it will continue to be relevant. It's not like the heart breaking scourge of early IE herpes that had defiantly persisted resulting in mutated development in order to nurse along its festered blight, though unified library it was able to take a bit of the edge of the festered IE stench. Would I learn jQuery front to back - NO. Do you need to know what you are looking at when you encounter it - YES.
Hi Brad: I totally agree with you: jQuery is still relevant in Y2018, though it is fading. Another reason I think is because many libraries are dependent on jQuery ... latest Bootstrap 4 is a good example .. then Bootstrap is so popular ..It is very hard for any wide spread technology to be eliminated ...
Awesome video, I just found you on youtube and I am already addicted to your videos, keep up the excellent work!
I basically have the same opinion as you, Brad, but I came in the comments section to see a different point of view. By the way, I bought your Bootstrap 4 course and it's awesome. ;) requires a bit more explanation here and there, but I manage my curiosity with Google. Great content, both here and on Udemy.
Just started to learn javascript about 4 months ago now i am familiar with it and it was time to start learning some framework to improve frontend i found that jquery for newbies alot easier to learn so i tryed and liked it but i also looked for angular or react and ended up choosing vue for simplicity. The big point is javascript libraries can get alot time to be specialized on it and if you choose another one on the long run you will need to learn everything again. The point about Vue is that is simple and straight forward integration with the code specialy for begginers like myself maybe this is the future of all the frameworks "less code is more" sometimes
6:51 Try doing this with pure javascript and compare the amount of code:
$('div:has(span):first, div:contains(hello)').addClass('class').css({color:'red', display:'block'}).show(400)
SPOILERS: It'll take you about 30 lines of code and half an hour.
7:10 Try this with pure Javascript: $('multiple_selector_1').closest('div').appendTo('multiple_selector_2').addClass('class')
SPOILERS: make sure you count the amount of FOR loops you used.
9:05 Try this delegated event with pure Javascript:
$('multiple_selector').on('change input', 'input, select, textarea', function(evt){ console.log( $(this).val() ) })
SPOILERS: 1 hour of work to get it right.
TL;DR:
Of course it's still relevant, and it will keep being relevant simply because it allows to do a lot of work in much less time and with very few lines of code.
If you want to minimise LOC and spend less time doing DOM manipulations then stop writing code that does DOM manipulation altogether. Delegate that task to one of the many modern libraries and frameworks that have battle-tested, elegant approaches to templating without the need to write code and manage the state of your view manually.
Spend that time doing something more important.
Those frameworks are not enough unfortunately. They cover common use cases, but if you want to build specific UI behavior you'll have to manipulate the DOM anyways.
Hr Gwea Agreed. I've used closest then findNext for Dom traversal. Sure I could have written plain JS with dynamic data attribute mapping to access elements, but jQuery is a convenience. Most developers are familiar with jQuery. I do use document.querySelectorAll etc and other modern JS alongside jQuery. In some apps I have created another alias instead of the $ variable and wrapped it so that it could later be replaced, but... I cannot tell you how many enterprise apps that are shared and use jQuery where I have adapter methods because I use but cannot change another groups code/library where there are requests made to change order committees, and QA staff who have to test other applications that would be affected by removing jQuery. Believe it or not we finally upgraded an app in 2017 that required IE9 in quirks mode and heavy doses of jQuery, jQueryUI and other plugins because the vendor didn’t support other browsers and newer IE. It wasnt as simple as replacing the system with another because of the amount of resources, data and inter dependency with other apps. The company finally moved the platform to support mobile and modern browsers. People would be amazed at the number of libraries in use that directly or indirectly use jQuery. I do agree with the video author in learn jQuery, but also modern Javascript. To newer developers and detractors of jQuery it's not always as simple as stop using jQuery and start using ES6. Some developers are constrained between vendor apps and IT policy of locking browser updates and support.
But you will still have those 30 lines of code with jQuery, only in your main file it would be more readable, but performance wise i think its the same if not even worse when using jQuery..
you are one of the most awesome teachers for coding...i think you should create something like laracasts but for javascript where you could post short length courses...rather than those long courses from udemy
For me personally JQuery's relevance comes down to 3 questions.
1). Do i need to make and special allowances for IE? If the answer is Maybe. I instantly pickup JQuery. Have a few sites that i have to maintain that still gets a fair amount of IE 7 traffic on them (legit traffic and they are low traffic sites). Dispite the warnings of "Optimized for blah".
2). Is there a plugin already made that will get me 50% of the way to my end result (example jquery's datatable/fullcalendar/Jquerui/bootstrap/Materialize)? If yes I will use it.
3). If there was no plugin will creating one be easier in raw or jquery? This one i end up having to look at a lot of the specs of what i'm doing. It normally ends up 50/50.
Over all for me question 1 is normally almost yes. Cause most of what i have to do is Ajax and i'm given specs that require me to ensure functionality in IE (not edge). So why reinvent the wheel?
How about for JQuery UI functionality like date pickers, calendar widgets, and the table plugin? If you don't use JQuery UI for these what would you use, instead?
At 7:34 The text color of the JS code on the right is not green. It's cyan. Right?
So here are several issues that I contend with when looking at something like this: 1) Without jQuery, for each action I want to take that jQuery natively does, I have to either download a new lib that does it or I have to write it from scratch. 2) Given that time = money, when doing this for a living, all the time you spend researching, installing, learning and/or modifying a new lib or debugging / testing roll your owns, is money out the door that you're not getting back. 3) As stated so many times here, with such a huge dependence on jQuery out in the world, not learning / using it is going to be problematic for you unless you are writing all new stuff.4) Older browser support. In most corporate and government environments, you are not going to be working with the newest up to date browsers. You're still going to be dealing with the likes of IE 7/8/9, legacy versions of FF, Safari etc. In those cases, you're screwed.
Great video. JQuery is relevant. It's just an option really. ES6 basically took everything that worked for JQuery and bundled it into it's own "engine". I think JQuery is still very relevant as long as the team behind continue to develop around it. I think we miss the point when we think that JQuery is just a substitute for vanillaJS. In many ways it was... but that was their goal back then I guess. Isn't it worth keeping up with the guys that said "hey. JS is missing stuff. Let's build JQuery". What if they come up with more useful functionality that we aren't considering because right now it seems as if JQuery and vanillaJS have the same goals? Anyway... I personally think that the most meaningful reason one would have to shift to vanillaJS is optimization and performance. But that really depends on your project, goals and personal preferences really (at least at this stage).
Thanks, very useful. Love your content. For some reason you seem to be able to explain difficult concepts in a beginner-friendly way. Calm, taking your time and not rushing anywhere. Thanks again! :-)
Yes it is still relevant, and the tight deadlines in this industry make sure that it stays that way. For a 4-8 week project that does not require much app like features, jQuery and its plugins are usually a no brainer if you want to deliver the product in time and within the budget. Of course it would be a different story if you actually had the luxury of extra time, but welcome to the real world: you almost never have it.
I can build a better faster project using react, webpack, npm. If I want a nodejs plugin I can install it using npm. Webpack and project.json to manage my project and it's dependencies. I can send that project to another developer and all they need to do is `npm install` and it will install my dependencies for me.
Thank you for this. I'm a designer who learned that jQuery was easier than JS (ES5). I still use it, though still learning JS (ES6 now) and the rest of the 'stack'. Maybe a future dev convert from design. =P
Though you suggest using specialized libraries, I would think that one library that can do all the things several specialized libraries can do would be ideal.
In the case where there is one or two libraries needed, that makes sense, but if I have a stack of six specialized libraries...I'd default back to jQuery to do all of it.
jQuery's killer app was that you could write code once and run it on every browser at the time. Since IE went to Edge all modern browsers handle JavaScript pretty similarly. jQuery even admitted this when v 2.0 eliminated much legacy IE support. But jQuery remains a large one-size-fits-all library. But we are all aware that 80% of our users only use 20% of the features we build. jQuery is no different. So I think this video was a great introduction of some very specific tools to do very specific things. Always use the right tool for the job. If I'm building a website with some basic interactions but not a lot of CRUD functionality, a modern framework is overkill, and jQuery might be the best tool here.
I enjoy developing in vanilla JS more than I enjoy developing jQuery, however, as others have mentionned, it is useful in projects with very short deadlines. I was working on a project as a student where I almost spent all my free time on, and still didn't meet my deadlines eventhough I was using jQuery, and the syntax of most things is just quicker, be it Ajax, using dollars instead of querySelector, just seems quicker to write.
However, I say it again, I hate its performance hit as such a heavy library to load, and I enjoy vanilla JS way more.
Robin Thomas Nowadays though it probably provides very little in terms of speed of coding. Especially with ES6
I would really love to get rid of jquery in my site (smaller and faster is what I am thinking) - I just don't know javascript well enough to rewrite the 20 or so functions. I think I can figure it out since the vast majority of the functions are literally just DOM manipulation (adding and subtracting CSS classes more than anything)... thanks for this! I have been inspired.
Just started a new project using jquery and i think it still kicks.
I will replace it in a few months soon, as i find time for better solutions then. But for a quick mvp it rocks
jQuery is great in 3 scenarios, cross browser support, if you don't have a transpiler for es6 to es5, and if you just need quick dom manipulation and ajax.
jQuery is my go to when I'm doing simple web app/site without a lot of user interaction.
Thanks, Brad. Don't worry about having a particular view when you have such a strong justification for it. What you said is absolutely logical and practial.
I was just thinking about this issue. I still would like to learn it because it exists out there in projects you come across in the industry. It's important to understand what I'm looking at.
Great topic! I still use jQuery, but in a very limited capacity. I could easily replace all jQuery code I write with plain JS, but I don't because jQuery is always a dependency on some other package(s) I use so it's there anyway, why not use it?
Why is it not recommended to use an inline onClick event?
Nice question
I've got a question - why do we look up for negative '1' value of Indexof() method on an element? Can't we just compare it to '0'? Is it because it creates an array of letters we iterate through and '0' is the first character?
Great video, watched with pleasure! One note:
*someArray.indexOf(item) > -1* now would be *someArray.includes(item)*
I use it for ajax and dom manipulation. Because it's just easy. I'm working on learning angularJS right now. I like it somewhat, It's cleaner for one thing, but the file system does tend to get cumbersome with the amount of files needed.
3 years ago when I had just started coding I learned some jQuery as part of a course but have I never used it since. It was starting to go out of vogue at that time. I think you are correct that it is mostly only used in legacy websites now.
“IE always gives us shit” hahaha so true. IE has one purpose and that is to install chrome!
Yes it is , As a developer I dont have time reinventing the already existing time tested controls at the expense of my clients.
Great video, with a very diplomatic ending. I'm hoping to do a response video within the next few weeks. Basically, I think jQuery is for the trash can. However, very respectfully, I don't think you're going quite far enough with this one. I happen to think that the very concept of using frameworks is for the chopping block. Anyway, that's for another day. In the meantime - thanks for this interesting video.
Wow, you heard the man! Always learn jQuery first! Even before folks learn to use a web browser, they should learn jQuery! Just kidding of course! Thanks for another great video! I especially appreciated how he laid out the jQuery command beside the vanilla JavaScript command, that is helpful for a noob like me! I am of course subscribed with alert Bell turned on and thumbs up!
Good Points. Im excited if new developers are still going to learn jQuery (before JS), because its much easier for beginners. I think (not only) because of that jQuery is still gonna stay for a long time. But its our good ol' friend.
In jQuery I put most of my code inside $(document).ready function. How do you recommend to do that in javascript? Is my dom manipulation JS code going to work when my is in the tag? Or do I need to move all my javascript code after the tag?
Dear Brad,
Your presentation was truly compelling.
My concern is, we are having this discussion because of JQuery's maturity. New Frameworks with different flavors entering the space offer novelty. Soon too, they will reach 'maturity '. We'll then seek to move on to somethings else.
The second issue is the fact that Cross-browser issues remain with ES6! I need to bring in 'babel, etc., to sort that with ES6!
As long as jQuery remains supported, everything else (React, Vue, Angular etc.) may just be playing catch-up until their maturity and fadeout. Any take on these?
For me the number one reason why jQuery is still relevant is simply not-so-old-but-still legacy app's. If you're a professional Web Developer working with a pre-existing corporate app that was built not so long ago, chances are that it uses jQuery and those big legacy apps won't migrate to more recent frameworks in the blink of an eye or just because new frameworks/libraries showed up in the more recent years. Of course this reason will fade away more and more with time.
I'm working with a mix of legacy app and new projects and I still have to use jQuery quite often.
Exactly, seems like all these framework devs don't need to support older browsers
Hi Brad, I feel it's still quite useful. I recently worked on a Web application and it was easy to use jQuery interested if writing big line of codes using vanilla JavaScript.
I came across a site that does not allow users to copy text from it.How is that made.SOME HELP PLIZ
Just a question for these. I develop in a corporate environment. I'm used to jquery and I was always under the belief that the overhead for the javascript file really was on initial load. Which only happens once a week when I do an incremental update of the project. All subsequent page loads would then just load from the cache? So should I be so worried about including the library?
Really good info! Had no idea how far JS went though these last years!
I made my first website a couple of weeks ago where I did a lot of dom manipulation and jquery was super useful. But things like react use virtual doms?
Hi Brad,
I dont know whether you would be able to see my comment or not
But i have one query... If we are using Materialize or Bootstrap we would have to include jquery anyway
I was wondering why these css frameworks have not yet started using vanilla js to get rid of inclusion of jquery, eventhough we dont want to use it
If i'm not wrong es6 doesnt support adding event listeners to dynamically added elements very well. Jquery "on" syntax has a built in method for this. Also i'm still having some trouble on posting to certain API's with fetch.
sait cihangir Aldemir Sure it does! Do you know what event delegation is? That's what the second argument in the .on method is doing, and it's very easy to replicate in ES2015 (i.e., ES6) if you understand how it works.
Event delegation? What is it sir.
İ didn't say it does not support, i just said doesnt support very well. My statement is based on problems i run into previously. It didnt work well for me. Maybe jquery comes handy and i m too lazy to try new things.
If I disagree with everything you said, then I disagree that I can disagree with everything you said. Thanks for helpful video. Just once every year or two I have a need to work on websites and it's like relearning everything from day one.
I'm working my first job as a FED and we don't use jQuery. We use React since it's much faster. However, we do use jQuery when we use bootstrap but we don't use it directly.
I'm curious when Wordpress will start moving jQuery out of core.
Also: no need to apologize for plugging your classes. You have to eat.
*$.inArray(item, anArray)* can also be replaced by *someArray.includes(item)*
It's ES6 ! It's not gonna work in IE. Prefer indexOf
jQuery is still necessary (like it or not) if you want full functionality in Bootstrap 3.3, but Bootstrap 4 makes it entirely optional. This could represent the end of jQuery's popularity on new site development.
Given the emergence of front end frameworks like Vue, Angular or React, it seems that DOM manipulation is less and less necessary. Between ES6, Axios and Lodash, there is very little need for jQuery any more.
As of June 2019, still use jQuery and Bootstrap daily on the Laravel app for my dayjob...
Still using it, Mainly for Microsoft Office 365 since it's really easy for DOM manipulation and REST api queries.. Hopefully to adopt es6 and fetch soon...
How is `document.querySelector('.someclass')` or `document.querySelectorAll('.someclass li')` easier or better to use repetitively than `$('.someclass')`?
There are still huge number of JS widgets, including commercial, written in jQuery. Virtually all templates from ThemeForest are jQuery.
For developers who need to get work done with premade designs and components, either because they do not have design skills, or the core of the project is more business-logic focused (even if its implemented in full modern ES6) so there is no value in spending time making own designs, jQuery is inevitable dependency.
I will use it in my web development course in a community college for Fall 2019.
Does Polymer have any traction in the marketplace at this point?
Watching in december 2019. Almost Christmas. We still have some websites in our company written with JQuery, but today we only need to maintain it whenever a bug is found or something like that.
I just used it today. If I don’t have jquery I wind up creating the couple of functions I need for don manipulation. Sometimes you can’t use angular or vue because of requirements of the project
Hey Brad . Thanks for everything you are doing .
Every lesson you make , give me a push to learn more and more .
I started learning web development . i learned by myself basics of Python HTML CSS JS and im planning to study data structure and algorithms and SQL . But i have problem i dont know how i can put all this stuff together to build websites and how to deal with servers . im so confused .
we will be happy if you can make one video talking about steps to build website and THANKS again for everything
Thanks for this video! I'm new to Javascript (now learning the DOM stuff) and was wondering if JQuery still relevant because I've heard that it's bloated. I think I'll go for the pure vanilla path first. Thank you, sir! :)
I'm not using jquey ... Never used it .... But I've seen that jQuery is irrelevant since 2016 so I think that your video makes sense ... I do really think that vanilla JavaScript is taking over quite rapidly and plus all the frameworks are based on it so it makes sense to use vanilla JavaScript to get used to it.
Hi Brad thank you for videos you helped me a lot because, nowadays many things flooded into web development . Sometimes very hard to choose between each other. You are very helpful for web developers. I would like to see more videos about vue js. I know that you can provide very good quality of that stuff.
+Traversy Media: What do you see as a replacement for the more complex jQuery plugins, such as jqgrid, jqdialog, etc.?
I was about to learn AJAX. Should I skip that?
Learn AJAX and XHR like a skip through!!
Fetch is the new API which is a lot easire, also,
if you are going to use frameworks like Angular, you will hardly use both AJAX and FETCH, it has it's own HTTP module.
By the way, any idea why they keep using JQuery in frameworks like Bootstrap ? Animations ?
Thanks again. Not for this video, but for all your courses, etc. 😊😊😊