Why does everyone hate on JQuery?

There was a time and place for jQuery but a lot of its functionality has been absorbed by modern browsers, and with modern JS frameworks, directly manipulating the DOM is frowned upon.

By all means use it if gets the job done, but I feel like at this moment you need to really understand what jQuery can and can’t do for you to justify its use.

While checking my blog’s speed with page insights, I always find “defer render blocking JavaScript” and I can never solve this issue, I’m sure that most of the people avoid Js because of the page speed problems.

Thanks

You do it like this:

<script src="my/script.js" defer></script>

Thanks buddy, I’ll try it and report back :slight_smile:

@gogocodesmedia Jquery is okay. Ignore the hate. I think that it is better to learn Javascript really well, then, use libraries such as Jquery if you really need to, like when you are short on time and have a dead line to meet.

1 Like