this post was submitted on 22 Jul 2023
4 points (83.3% liked)
A place for everything about web development
672 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use ChatGPT to convert jQuery stuff to vanilla js a lot. When I’m updating older Wordpress sites I find a lot of jQuery used for really basic js stuff.
Why do you need to convert away from jQuery?
I find it much easier to comprehend than vanilla. Is there a flaw in it or something?
As I’ve gotten better at JavaScript I find it’s a lot easier to accomplish most of the things plugins and themes in Wordpress use jQuery for. Most of the jQuery I’m replacing is simple DOM manipulation.