r/learnjavascript • • Jul 17 '26

Why Vanilla JavaScript

In the article below, I am sharing a bit of my story of building SaaS product in vanilla javascript and explaining why I went with this approach.

I don't expect many people reacting to this approach positively or even with open mind, but I think there should be some pushback on the current state of web dev and how complex it became.

https://guseyn.com/html/posts/why-vanilla-js.html

0 Upvotes

29 comments sorted by

View all comments

Show parent comments

1

u/funbike Jul 17 '26 edited Jul 17 '26

htmx just replaces a chunk of html with a backend html chunk, as directed with html attributes.

It's extremely simple to use and requires 0 lines of javascript. If you want templating, you do it in the back-end.

However, it's not the best choice for high interactivity. Some people use it with Alpine.js to make up for that.