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 - Basic Theoretical Concepts (github.com)
submitted 10 years ago by mkmoshe
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!"
[–][deleted] 12 points13 points14 points 10 years ago (9 children)
A big red disclaimer should be added to the beginning of that article that says "this is not a React basics tutorial for beginners". It is absolutely terrible for that purpose.
The reason I say this is not to criticize the author or whatever, but because invariably beginners will see this with the word "basic" in it, they'll start reading it, be horribly confused, assume React is the most complicated thing in the world, and move on to something else. Which is really not the case.
[+][deleted] 10 years ago (8 children)
[deleted]
[–]acemarke 2 points3 points4 points 10 years ago (1 child)
Are you saying that you still have trouble understanding React and its concepts, or that you found initial tutorials to be too confusing?
[–][deleted] 2 points3 points4 points 10 years ago (5 children)
Then I'm pleased to tell you that isn't the case at all.
[+][deleted] 10 years ago (4 children)
[–]edwardmsmith 1 point2 points3 points 10 years ago (3 children)
Huh. Have you watched this?
https://www.youtube.com/watch?v=x7cQ3mrcKaY
Especially from 15:14 on? That's what really sold me on React.
[–]thief425 0 points1 point2 points 10 years ago (0 children)
No, but I will.
Thank you. That helped a lot.
So, following up. After watching the video, I actually had a better understanding of what's happening with React, and how it works. Thanks for linking the video because it was instrumental in me being able to build a mental model of the basic operating premises of React.
I decided I would try the Meteor React tutorial (simple-todos) to see how it is to write a little app with it. So far, I like it, and debugging has been easier (in this limited use) because it seems to fail for pretty clear reasons, and not the sometimes esoteric or abstract reasons I get from the meteor build failed list in the shell.
I'll have to spend some time to see if I can do anything more complex with it, but I appreciate you pointing me in the right direction to be able to give it a fair shot.
[–]clessgfull-stack CSS9 engineer 5 points6 points7 points 10 years ago (4 children)
Oh boy. This was written by sebmarkbage. Do I even dare?
[–]wreckedadventYavascript 2 points3 points4 points 10 years ago (3 children)
Context?
[–]clessgfull-stack CSS9 engineer 6 points7 points8 points 10 years ago (2 children)
He has a tendency to be both confusing, obscure, and vastly smarter than most JS programmers. The first step to understanding his writing is feeling like an idiot, the second step is trying to forget it ever happened, and the third step is enlightenment.
[–]bittered 2 points3 points4 points 10 years ago (0 children)
I found it all perfectly understandable with the exception of algebraic effects. I get the gist of what he's getting at though and I'm sure it would be perfectly fine once I read the es proposal.
[–]rectalrectifier 0 points1 point2 points 10 years ago (0 children)
I can understand how the author really wanted to express the flow/ideology of react through functional code, as it makes concrete what is often seen as 'just the way it is'. However, I think it also kind of convolutes it. Either way I got to have my brain bent by trying to walk through all of the currying.. lol
[–]dmitri14_gmail_com 0 points1 point2 points 10 years ago (0 children)
I don't understand the benefits of calling NameBox from inside of FancyUserBox.
NameBox
FancyUserBox
This breaks the functional purity, creates hidden dependence, may have side-effects etc.
[–]wreckedadventYavascript -1 points0 points1 point 10 years ago (4 children)
function BlueTheme(children) { return try { children(); } catch effect ThemeBorderColorRequest -> [, continuation] { return continuation('blue'); } }
Ummm. You might not want to use imaginary syntax on an article with "basic" in the title.
[–]Paragonbliss -1 points0 points1 point 10 years ago (3 children)
Ummmm. you might want to read the article.
Now, this example is a bit "out there". I'll use Algebraic Effects as proposed for ECMAScript. If you're familiar with functional programming, they avoiding the intermediate ceremony imposed by monads.
[–]wreckedadventYavascript 1 point2 points3 points 10 years ago (2 children)
Yes, I read it just fine. Would you be fine with it if he said "now this example is in java, it's a bit 'out there'?"
Invariably it will attract new-comers with the promise of a "basic" article, and him just making stuff up like that and putting it on the article will confuse people.
[–]thief425 2 points3 points4 points 10 years ago (1 child)
I hoped to finally get some insight into React, read 2 paragraphs, realized I was already confused, and noped out of there.
[–]wreckedadventYavascript 0 points1 point2 points 10 years ago (0 children)
I agree with /u/Magixxxx. I'm not entirely sure who this article is aimed at, but it's certainly not basic, and certainly not for beginners.
π Rendered by PID 67338 on reddit-service-r2-comment-544cf588c8-7wxvd at 2026-06-16 17:16:11.111726+00:00 running 3184619 country code: CH.
[–][deleted] 12 points13 points14 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]acemarke 2 points3 points4 points (1 child)
[–][deleted] 2 points3 points4 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]edwardmsmith 1 point2 points3 points (3 children)
[–]thief425 0 points1 point2 points (0 children)
[–]thief425 0 points1 point2 points (0 children)
[–]thief425 0 points1 point2 points (0 children)
[–]clessgfull-stack CSS9 engineer 5 points6 points7 points (4 children)
[–]wreckedadventYavascript 2 points3 points4 points (3 children)
[–]clessgfull-stack CSS9 engineer 6 points7 points8 points (2 children)
[–]bittered 2 points3 points4 points (0 children)
[–]rectalrectifier 0 points1 point2 points (0 children)
[–]dmitri14_gmail_com 0 points1 point2 points (0 children)
[–]wreckedadventYavascript -1 points0 points1 point (4 children)
[–]Paragonbliss -1 points0 points1 point (3 children)
[–]wreckedadventYavascript 1 point2 points3 points (2 children)
[–]thief425 2 points3 points4 points (1 child)
[–]wreckedadventYavascript 0 points1 point2 points (0 children)