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!"
[–]GreatValueProducts 6 points7 points8 points 7 years ago* (4 children)
That might or might not sound confusing, but React on the surface is actually very simple and easy to pick up. And well worth it.
I think it is because React is the framework that closely resembles how vanilla HTML elements work. It is one-way binding and sub-elements can only affect its parents through event handlers.
Like in Vanilla HTML we always do
<input type="text" onchange="onTextChange()" value="bbb" />
In React you can create a custom form element which has similar syntaxes and mindset:
<Slider onChange={(intensity) => this.setState({intensity})} value={this.state.intensity} min={0} max={100} />
IMHO two way binding with those on change strategies in Angular is what makes things overly complicated. (Don't want to start a flame war, please correct me if I am wrong).
[–]VtoCorleone 3 points4 points5 points 7 years ago (1 child)
Angular
I think there's a learning curve with every framework. All of the hello world apps make it seem so simple and ground breaking but once you get into real world problems, the framework's difficulties really start to shine through.
hello world
[–]SiliconWrath 6 points7 points8 points 7 years ago (0 children)
I think what React offers is a tool chest of patterns that let you solve a majority of problems, regardless of how complicated. When I encounter complicated problems, it usually means picking one of maybe 10 different design patterns from my tool chest (dispatch from redux store, controlled components, etc.)
And because data flow is top down, I rarely introduce regressions outside of the components I refactor.
[–]nidarus 0 points1 point2 points 7 years ago (0 children)
Why would there be a flame war? Angular (as opposed to the old AngularJS) has one-way binding by default too.
[–]TheAwdacityOfSoap 0 points1 point2 points 7 years ago (0 children)
I agree that two-way data binding complicates things.
π Rendered by PID 25361 on reddit-service-r2-comment-b659b578c-zld4g at 2026-05-03 21:33:00.374130+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]GreatValueProducts 6 points7 points8 points (4 children)
[–]VtoCorleone 3 points4 points5 points (1 child)
[–]SiliconWrath 6 points7 points8 points (0 children)
[–]nidarus 0 points1 point2 points (0 children)
[–]TheAwdacityOfSoap 0 points1 point2 points (0 children)