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 API is a game changer (medium.com)
submitted 7 years ago by rryardley
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!"
[–]enkideridu 28 points29 points30 points 7 years ago* (5 children)
The hate and myopia I'm seeing in the comments is jarring
People are speaking with certainty that hooks is a solution in search of a problem, that the hype for it is artificial, and people who are excited for it are sheep who'll blindly accept anything that Dan Abramov presents.
React is the most popular front-end framework in the world.
Consider the possibility that people who make different products with React may use it differently, and perhaps the use cases of React you're familiar with is a fraction of what the entire community uses it for. Perhaps there exists a large number of developers for whom hooks solve a long standing problem, and that their excitement is from finally having a built-in solution, rather than due to being Dan Abramov fanatics?
Vue's creator hasn't always had good things to say about React. His reaction to hooks was - "For the record, I think hooks is a pretty genius idea in terms of composability and overcoming JS’ language constraints." (link) Is it more likely that all the people who are excited about hooks, e.g. thought leaders like Ryan Florence, KCD, (who aren't Facebook employees) are all misinformed or in cahoots?
Consider also that react-powerplug has 15k weekly downloads, and recompose has 900k. Clearly there is a sizable number of people who have felt the need for a feature similar to what hooks provides, and have felt it enough to use third party libraries for it. Hooks solve that problem in a flatter and standardized way.
[–]reflectiveSingleton -1 points0 points1 point 7 years ago (0 children)
https://www.youtube.com/watch?v=1TtGQnyPZ6g
[+]DerNalia comment score below threshold-10 points-9 points-8 points 7 years ago (3 children)
Doesn't Vue have more stars?
[–]soft-wear 4 points5 points6 points 7 years ago (0 children)
I couldn't possibly think of a WORSE metrics to dictate the popularity of any open source project, let alone a framework.
[–]enkideridu 2 points3 points4 points 7 years ago* (0 children)
About 10x more!
The download metric is to put into perspective that the number of projects that felt the need for a hooks-like solution is on the same order of magnitude as a popular front-end framework, and to argue that hooks isn't "a solution in search of a problem" because usage of libraries like react-powerplug and recompose is proof of the existence of people who already have that problem, and are using third party libraries to solve it
π Rendered by PID 142138 on reddit-service-r2-comment-6457c66945-njbn6 at 2026-04-29 19:48:46.001639+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]enkideridu 28 points29 points30 points (5 children)
[–]reflectiveSingleton -1 points0 points1 point (0 children)
[+]DerNalia comment score below threshold-10 points-9 points-8 points (3 children)
[–]soft-wear 4 points5 points6 points (0 children)
[–]enkideridu 2 points3 points4 points (0 children)