Lesson
How to Refactor To the useState Hook
In this lesson we'll take an existing class component and refactor it to use the useState React Hook. We'll see what changes between class and function components and also how to use the useState method.
- Duration
- 3 min
- Access
- Free
- Transcript
- Needs source
In this lesson we'll take an existing class component and refactor it to use the useState React Hook. We'll see what changes between class and function components and also how to use the useState method.