Hi. I have a question about jquery. Should I use jquery and what is best in terms of performance and good practice, to use jquery or to use pure DOM methods like getElementById and so on + combining it with es6?
I used to use jquery but now I see that it can be done without it, by my knowledge is limited so I just ask what is best from your perspective? Thanks
Your own projects? If you can do it with vanilla JS, do that. If you are looking to get a job where you might be maintained a legacy code base, do both, that’s like being able to speak Spanish and French: Gives you more options.
but if you would have a choice? I mean what is better, because I can’t understand if the difference is just in code or also in perfomance
Thank you both for explanations