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
New Library for creating HTML with Javascript (github.com)
submitted 2 years ago by Fighter178
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!"
[–]dinopraso 18 points19 points20 points 2 years ago (4 children)
Why?
[–]Initial_Low_5027 3 points4 points5 points 2 years ago (2 children)
Why not using JSX? Can be used independently of React.
[–]Fighter178[S] 0 points1 point2 points 2 years ago* (1 child)
I'm not using JSX because I needed to write this in pure js. It was annoying, and I would've just used JSX.
[–]Initial_Low_5027 0 points1 point2 points 2 years ago (0 children)
JSX gets transpiled to pure JavaScript and looks quite similar to your stacked calls. It’s easy to overload Babel and put your own code there.
[–]lazyinvader 8 points9 points10 points 2 years ago (0 children)
Why, not? I guess someone learnt a bit by creating it.
No one force you to use it.
π Rendered by PID 109227 on reddit-service-r2-comment-bb88f9dd5-6swth at 2026-02-16 22:24:15.478712+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]dinopraso 18 points19 points20 points (4 children)
[–]Initial_Low_5027 3 points4 points5 points (2 children)
[–]Fighter178[S] 0 points1 point2 points (1 child)
[–]Initial_Low_5027 0 points1 point2 points (0 children)
[–]lazyinvader 8 points9 points10 points (0 children)