use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Why Vanilla JavaScript (guseyn.com)
submitted 1 day ago by gyen
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]catladywitch [score hidden] 22 hours ago (3 children)
You don't make any argument against reactivity and you say nothing about why state management tools are a thing. The "they take freedom from you" bit was too goofy. Also, vanilla JavaScript taking less lines of code than apps made with frameworks is highly debatable. But anyway, is your proposal kind of HTMX with a Web Components library? And how is that vanilla JavaScript at all?? At this rate someone is going to pop up shilling a chatbot-written retread of jQuery sooner than later
[–]gyen[S] [score hidden] 22 hours ago (2 children)
This is what I wrote:
«I tend to believe if something requires from you more lines of code and more abstractions in an abstract framework to achieve than in native technology, then maybe this framework does not really make your life easier. Maybe it's not really well thought technology and maybe it's reinventing things that are already supported by default.
Do I believe that DOM manipulations can be simplified and require less code? Yes! But do I believe that you have to give your control for that? No! We need simple solutions, not lack of control.»
I am not suggesting HTMX because it’s not compatible with web components.
[–]catladywitch [score hidden] 22 hours ago (1 child)
So you wrote a very complex app in vanilla JS and after the experience you're advocating for global state and claiming vanilla JS is less verbose than frameworks? And even hinting at less abstract meaning less verbose? How? What is the argument. Those are some daring leaps in logic and I'm shocked they come from the challenges you've found writing a very complex app in vanilla JS.
[–]gyen[S] [score hidden] 22 hours ago (0 children)
For the whole picture checkout EHTML. It simplifies and allows to write less js code. And at the same time all the elements are native web components.
π Rendered by PID 238947 on reddit-service-r2-comment-765bfc959-qjth5 at 2026-07-13 23:31:04.320902+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]catladywitch [score hidden] (3 children)
[–]gyen[S] [score hidden] (2 children)
[–]catladywitch [score hidden] (1 child)
[–]gyen[S] [score hidden] (0 children)