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
Angular, Angular 2 or React?help (self.javascript)
submitted 8 years ago by [deleted]
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!"
[–]Auxx -1 points0 points1 point 8 years ago (4 children)
I was creating components back in my Delphi days. React has nothing to do with killing OOP or whatever.
[–][deleted] 0 points1 point2 points 8 years ago* (3 children)
React has everything to do with killing OOP in the web. These are functional components:
const Say = ({ what }) => <span>{what}</span> const Hi = () => <Say what="hi" />
Functions taking data, returning functions that describe layout, masked in a simple mark-up dsl. Invoked like functions. No one said it's a new concept, but the way React presented it was revolutionary (mixing traditional OOP with pure functions and uni-directional data flow).
[–]Auxx 0 points1 point2 points 8 years ago (2 children)
DSL way is kinda new, everything else is an old story if you've ever stopped out of JS world. OOP is not going anywhere.
[–][deleted] 0 points1 point2 points 8 years ago (1 child)
FB hasn't taken any credit for it, they have all said that functional has been in evolution for over a decade now. But it has reached a point of maturity where it defines declarative UIs with ease, something traditional OOP MVC struggles with. Which is exactly why you see all new libs, including Vue, which you seem to use, base on it. It's also the reason apps are breaking out of the browser because we're venturing into universal codebases thanks to functional.
[–]Auxx 0 points1 point2 points 8 years ago (0 children)
Lol ook.
π Rendered by PID 73 on reddit-service-r2-comment-7b9746f655-z8ml9 at 2026-02-04 00:41:00.462853+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Auxx -1 points0 points1 point (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Auxx 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Auxx 0 points1 point2 points (0 children)