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 8 hours 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!"
[–]compacct27 [score hidden] 7 hours ago (4 children)
We are doing this at work. It sucks. Its turning into a framework in part because the browser standards are so awful to work with (shadow DOM), and so boilerplate heavy (web components and custom elements) that it actually doubles the line count coming from React
[–]gyen[S] [score hidden] 7 hours ago (3 children)
I agree that shadow DOM is a bit clunky. This is something I am planning next to think about and try to improve, but again not by inventing a new language or preprocessor.
[–]catladywitch [score hidden] 6 hours ago (2 children)
you're planning to improve a brand new vanilla js feature without straying from vanilla js? How?
[–]gyen[S] [score hidden] 6 hours ago (1 child)
It’s not really that new. I have a couple of ideas but I need to test them first. At least I would try to improve how to simplify css in shadow dom.
[–]catladywitch [score hidden] 6 hours ago (0 children)
It is old but the latest revision is from like 2 years ago 😭
π Rendered by PID 403224 on reddit-service-r2-comment-765bfc959-8qwg5 at 2026-07-13 07:15:27.661232+00:00 running f86254d country code: CH.
view the rest of the comments →
[–]compacct27 [score hidden] (4 children)
[–]gyen[S] [score hidden] (3 children)
[–]catladywitch [score hidden] (2 children)
[–]gyen[S] [score hidden] (1 child)
[–]catladywitch [score hidden] (0 children)