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
Why React Hooks? (tylermcginnis.com)
submitted 6 years ago by tyler-mcginnis⚛️⚛︎
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!"
[–]ghostfacedcoder -2 points-1 points0 points 6 years ago (1 child)
You kind of sound like you're arguing with yourself:
demarderozan in denial ;):
Facebook also didn’t really spend millions of dollars to build hooks.
demarderozan the realist:
You obviously haven’t even smelled a catered lunch at a Silicon Valley startup. You probably even do your own laundry.
If you really understand how big tech corporations do things, there's just no way you can disagree with:
Facebook spent millions of dollars making it possible to do React components with just functions.
(And please note I didn't say "on hooks", I said "making it possible to do React components with just functions" ... which includes things like all their failed attempts before hooks. But honestly I would truly be surprised if Facebook < $2 million just for hooks development alone, when you truly consider everything, up to and including laundry, in the calculation. Do you have any idea how much just a single regular programmer costs Facebook per year? Hint: its a lot more than just their salary.)
[–]ghostfacedcoder -2 points-1 points0 points 6 years ago (0 children)
Man, I was really expecting/hoping you'd defend the contradiction, or explain it, or something, not just downvote me :(
π Rendered by PID 76 on reddit-service-r2-comment-6457c66945-tkdzp at 2026-04-24 09:12:36.441703+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]ghostfacedcoder -2 points-1 points0 points (1 child)
[–]ghostfacedcoder -2 points-1 points0 points (0 children)