About the Blog:

This blog is dedicated to all the front-end and UI developers who wants to excel their skills in CSS, HTML, JavaScript, jQuery, Ajax, Reactjs, Angularjs, Front-end standards and in Rich User Experiences. In this blog, we are sharing some useful tips and tricks along with the code snippet examples which will help you to build responsive and user friendly websites/web applications.

Saturday, February 11, 2023

Do we need to use jQuery in your Web Application Project?

Well, there are so many sites which uses jQuery. Most of us are very much familiar that jQuery was very popular between 2007-2012, although its still using in many website across the internet. Below I am going to tell you what is very beneficial for using jQuery and why we should not use it.


Pros of using jQuery:

- It provides very handy commands for direct manipulation of DOM structure.
- You can easily change any style, attribute, elements, etc. with the help of desired selectors.
- There are couple of plugins availabe which basically works together with jQuery like: sliders, form validations, animation effects, and many more.


Cons of using jQuery:

- It only modifies DOM from interaction point of view and doesn't change the code. It means it will not effect any changes for the actual running code and at the time of refresh page your changes might be lost.
- You cannot generate dynamic code with jQuery, meaning You cannot run dynamic loops and properties based on programming languages, but that can be achievable via Angular/Reactjs/Vuejs/Next.js etc.
- Also, you don't need to consider your jQuery changes to be available in Search Engine crawling, because jQuery or javascript modifications/renderings will be completely ignored by Crawlers.