Introduction to Refactoring a React Application to React Hooks

Kent C. Dodds
InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Let's get a quick overview of what this course is all about and how it's been structured to make sure you're as productive as possible with these new features.

Anthony
Anthony
~ 2 years ago

Hi Kent, I get that hooks is a cool new feature but what’s the selling point? I was hoping to be sold on this upfront but I watched your intro and the second refactor video but couldn’t find a clear answer to “why” I should refactor to hooks.

Kent C. Dodds
Kent C. Doddsinstructor
~ 2 years ago

This course is not intended to sell you on the "why" behind hooks, but the "how." If you're looking for the why, then you should start here: https://reactjs.org/hooks

Specifically watch this: https://www.youtube.com/watch?v=dpw9EHDh2bM

Also, I gave a talk about my take as well: https://www.youtube.com/watch?v=zWsZcBiwgVE&list=PLV5CVI1eNcJgNqzNwcs4UKrlJdhfDjshf

I hope that helps.

Anthony
Anthony
~ 2 years ago

Thanks Ken, I’ve already reviewed those links and I get the “why”. I just think that any talk of refactoring should be accompanied with some selling on “why”. Looking forward to digging into the rest of the course!

Anthony
Anthony
~ 2 years ago

Sorry, Kent. I keep forgetting the "t", I've worked with too many "Kens".

kushal
kushal
~ 2 years ago

I think the format on egghead explains is like that. Maybe they can take a deeper approach towards understanding of concepts. Since you call it a course, so maybe concepts first and then overwhelming stuff later. Even for this I was aware of hooks and already coded a todo in that last week. I found just a shallow thing on first two instances I tried two times :D Doing things in advance is something not course oriented but demo oriented.

kushal
kushal
~ 2 years ago

Oh! Can I edit my comment? Lot many grammatical and typos. Sorry!

Shripada Hebbar
Shripada Hebbar
~ 2 years ago

Kent, would be helpful, if you point the source code before and after using hooks. Where can I get that?

Riccardo
Riccardo
~ 2 years ago

how could I acces to the existing project?

Joel Hooks
Joel Hooks
~ 2 years ago

The source code is linked in the next lesson!