This was originally published at ui.dev and is part of our React Hooks course. If you enjoy this post, check it out.
The first thing you sh...
For further actions, you may consider blocking this person and/or reporting abuse
Please, for the love of the Flying Spaghetti Monster, no face clickbait on video thumbnails, you're killing me Smalls :)
Haha, a YouTuber got to eat.
Thank you so much. This is the kind of articles that i like to read, knows the why and how is the main idea to finally understand why this thinks are designed.
Thank you!
Two things:
Don't listen to Sebastien Barre! I like you face. (I know he's half-joking though.)
I already am subscribed to you on YouTube; I think this is a pretty neat use of this platform! Following a tutorial is easier in text, and I appreciate the write-up :)
Thanks for the support! I like my face too 😂
I adore hooks, but do kinda wish more people were glomming onto the handleEvent bandwagon with all the
coolartsylonely developers who are technically correct and writing h*ckin' fast JavaScript, but who are not popularly correct — the best kind of correct.Also, I like the facebait.
This is fantastic Tyler! Thank you for taking the time to dive into the history behind it all.
Glad you enjoyed it!
Thanks for this explanation :)
You're welcome!
Very nice explanation of the motivation for why to use them. They are definitely more than just a shiny new addition to the library.
Definitely. I think the closing paragraph sums it up nicely - "The marketing pitch for Hooks is that you’re able to use state inside function components. In reality, Hooks are much more than that. They’re about improved code reuse, composition, and better defaults."
Pretty much everything I read for weeks before getting started were all about the why, and benefits.