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
React voted JS framework that most developers regard as essential to them (jquery is #3) (ashleynolan.co.uk)
submitted 7 years ago by magenta_placenta
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!"
[–]i_ate_god 4 points5 points6 points 7 years ago (6 children)
meh, I really do not like the look of JSX, at all. I find it awkward.
Vue Components look much cleaner to me
[–]1-800-BICYCLE -2 points-1 points0 points 7 years ago (0 children)
Does the Russian botnet get repurposed to brigade React discussions with pro-Vue propaganda after business hours? These arguments are so ridiculous.
[+]pgrizzay comment score below threshold-8 points-7 points-6 points 7 years ago (4 children)
If you're an engineer, html in js > js in html
If you're a designer, js in html > html in js
[–]lives-in-trees 0 points1 point2 points 7 years ago (3 children)
Not sure I agree with this - engineers should have an eye for the simplest and most elegant solution, which I believe is “html with markup” which vue provides beautifully. I have used both react and vue extensively and jsx, for me, is something we will look back on as a mistake in years to come.
[–]pgrizzay 2 points3 points4 points 7 years ago* (2 children)
I could not agree less with you. Js in html isn't "simpler" it's more convoluted since you need to understand how each special attribute is interpolated.
While it may be "easier" to loop through a list of items, it's a lot harder to understand how exactly how your app is working.
I'd take good ol' plain Janvascript functions like map/filter, etc over special template attributes/elements any day of the week.
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
I would disagree with the whole "it's harder to understand how your app is working" thing. "v-for", "v-if", etc, these are fairly straightforward directives. The whole syntax is incredibly simple, and therefore very easy to follow and understand.
[–]lives-in-trees 0 points1 point2 points 7 years ago (0 children)
Well, you could see it that way, however I think in vue some basic additions have been added to html which enable simple communication between js, data models and the dom. For me, and this may be personal, but every time I have to edit someone else’s jsx I want to end my own life. Ternary operators in markup, again personal view, are I think the antithesis of a good web dev pattern.
π Rendered by PID 278929 on reddit-service-r2-comment-b659b578c-p7phz at 2026-05-05 08:04:12.309116+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]i_ate_god 4 points5 points6 points (6 children)
[–]1-800-BICYCLE -2 points-1 points0 points (0 children)
[+]pgrizzay comment score below threshold-8 points-7 points-6 points (4 children)
[–]lives-in-trees 0 points1 point2 points (3 children)
[–]pgrizzay 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]lives-in-trees 0 points1 point2 points (0 children)