Search courses ranked by devsStop wasting time. Search coding courses, tutorials, and books — ranked by developers who voted for themSee how→
Learn Class Components in React

Extra perks unlocked via skillcraft.ai link
Bob Ziroll is back with a one-hour whistle-stop tour of class components in React. Although modern React tends to use functional components, knowledge of class components remains a useful skill to have in your toolbox. You might find yourself dealing with legacy code, or a colleague who prefers them. The difference between functional and class components might come up in an interview. In this free, one-hour course, Scrimba Head of Education takes you through the essential basics of class components with a collection of interactive challenges designed to get you coding as much as possible. This approach leaves you with rock-solid knowledge which really sticks. In the course, we'll look at what class components are, state in classes components, the constructor method, updating complex state, lifecycle methods, and more!
Instructor

Bob Ziroll
Head of Education at Scrimba. Passionate about learning and helping others achieve their career goals. Enjoys tennis, woodworking, and spending time with family.
Course details
1 hour 20 minutes
video
Included
Free
What you'll learn
ES6 classes review and fundamentals
Introduction to class components in React
State management in class components
Setting and updating state with setState
Prerequisites
Basic React knowledge
Understanding of JavaScript ES6
Familiarity with functional components helpful
Who this course is for
React developers wanting to understand class components
Developers working with legacy React codebases
Anyone preparing for React job interviews
Frontend developers expanding their React knowledge
Curriculum
Course Content
17 lessons
Notice something missing?
Help us improve this course information for the community