I wrote a few simple web apps to speed up production in a few departments at work, and I am loving coding with just Vanilla JS, after years of using React, TS, Vue2, Angular, etc.

But I feel like I have to be missing some tools since Js is older than time.

Here’s my workflow:

  1. Code in VSCode (auto-save)
  2. I built an AHK script that automatically switches to Chrome and hard-reloads the page
  3. Web Dev Tools are open in Chrome.
  4. I find errors in Js, HTML, or CSS and alt+tab back to VS to fix it
  • erogenouswarzone@lemmy.mlOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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?

    • GnomeOnTheRange@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      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.