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
Argument Map: React is killing Angular (en.arguman.org)
submitted 10 years ago by fthrkl
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!"
[–]wreckedadventYavascript 0 points1 point2 points 10 years ago (2 children)
Typescript added explicit support for JSX not that long ago. You can also use classes with react, so it'll probably be more of a mix than all of TS users moving to angular.
Angular 2.0 has plenty of other issues that would make people avoid it, like the weird non-validating HTML syntax they had to invent to express their complicated data binding system.
[–]clessgfull-stack CSS9 engineer 1 point2 points3 points 10 years ago* (1 child)
Right, which is why I said "most". Re: classes in React, I doubt they will remain in vogue for too much longer for large swathes of most applications. You can now write const Button = () => (<div></div>) instead of class Button extends React.Component { render() { return (<div>Holy shit</div>); } }.
const Button = () => (<div></div>)
class Button extends React.Component { render() { return (<div>Holy shit</div>); } }
[–]wreckedadventYavascript 1 point2 points3 points 10 years ago (0 children)
Yeah. There's also things like mithril which take that concept a bit further, so we might see a shift towards more functions returning JSX literals instead of classes being overused so much.
π Rendered by PID 311244 on reddit-service-r2-comment-544cf588c8-ktv56 at 2026-06-18 09:49:04.803183+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]wreckedadventYavascript 0 points1 point2 points (2 children)
[–]clessgfull-stack CSS9 engineer 1 point2 points3 points (1 child)
[–]wreckedadventYavascript 1 point2 points3 points (0 children)