Introduction to Refactoring a React Application to React Hooks

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
~ 6 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. Dodds(instructor)
~ 6 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
~ 6 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
~ 6 years ago

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

Kushal Mahajan
Kushal Mahajan
~ 6 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 Mahajan
Kushal Mahajan
~ 6 years ago

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

Shripada Hebbar
Shripada Hebbar
~ 6 years ago

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

Riccardo
Riccardo
~ 5 years ago

how could I acces to the existing project?

Joel Hooks
Joel Hooks
~ 5 years ago

The source code is linked in the next lesson!

~ 3 years ago

Where's the project code?

~ 3 years ago

I am unable to find the source code , could you please share the link to download the code ?

Lucas Minter
Lucas Minter
~ 2 years ago

The code is in the next lesson: https://github.com/kentcdodds/react-github-profile