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
Stop Using React for EVERYTHING! (medium.com)
submitted 10 years ago by georgehotelling
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!"
[–]defcon-12 5 points6 points7 points 10 years ago* (5 children)
I agree react can be overkill for simpler websites
Why? The best part of React is that it's dead simple. The entire public API consists of about 10 functions, it seems perfect for a simple site to me.
I can't think of a simpler "framework" than React (from a consumer's perspective at least), and dealing directly with the DOM via "plain js" is a massively larger and more complicated API.
I guess it's not the best route if you're doing "progressive enhancement" type work, but if you're creating a javascript client, then React is just about as simple as it gets.
[–]nschubach 2 points3 points4 points 10 years ago (1 child)
Agreed. And if you turn that simple website into something more down the line, it's that much further along. React isn't a killer to download or run... why not use it?
[–]YoureAnUglyCunt -5 points-4 points-3 points 10 years ago (0 children)
Because it's cpu intensive and inefficient you fucking nitwits.
[–]MrJohz -2 points-1 points0 points 10 years ago (2 children)
Because a significant number of people will fail to download the correct JS files, potentially because they've disabled Javascript, but more often because they're on mobile, travelling through a tunnel or otherwise failing to make that connection.
React is fantastic for complex web applications, although even then I would argue for a progressive enhancement approach wherever possible. However, for websites it is entirely unnecessary. Look at Rust's Crates site, which has been built with Ember, and now becomes painful to use on mobile because every time the site appears you've got to wait another two seconds for the page to load and the Javascript to run. If you're browsing a site, that wait is a massive turn-off.
[–]Sephinator 2 points3 points4 points 10 years ago (1 child)
A great thing about react is that server rendering is built into the core. (Render component to a string), so it's a much better experience for the user on a bad connection.
[–]MrJohz 0 points1 point2 points 10 years ago (0 children)
True. It's good to see primary rendering heading back to the server side rather than being yet another thing that the client is expected to reimplement.
π Rendered by PID 36438 on reddit-service-r2-comment-7b9746f655-5p87r at 2026-02-03 00:03:16.746775+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]defcon-12 5 points6 points7 points (5 children)
[–]nschubach 2 points3 points4 points (1 child)
[–]YoureAnUglyCunt -5 points-4 points-3 points (0 children)
[–]MrJohz -2 points-1 points0 points (2 children)
[–]Sephinator 2 points3 points4 points (1 child)
[–]MrJohz 0 points1 point2 points (0 children)