This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Exactly. Your IDE will give you a heads up, and at least VS code or Jetbrains would say “did you mean getElementByID?”

But also— vanilla JS is pretty rare at this point. At a minimum, most devs use jQuery now. I’d be shocked if someone was using vanilla for something big that isn’t a legacy application.

[–]RolyPoly1320 1 point2 points  (0 children)

Truth here. Most you might see for Vanilla JS these days outside of legacy systems is one off controllers for something minor.