Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Scrimba

Learn Class Components in React

via Scrimba

Overview

A one-hour course to get you up to speed with class components in React
  • ES6 classes review
  • State in class components
  • State
  • Setting state
  • Converting to a class component
  • The constructor method
  • updating complex state
  • componentdidMount()
  • componentdidUpdate
  • componentWillUnmount
  • Lifecycle methods
  • this.setState()
  • Class components Challenges 🚀

Syllabus

  • Learn Class Components in React
    • 1. Class Components Section Intro
    • 2. ES6 classes review
    • 3. Intro to class components
    • 4. Class components practice
    • 5. Frontend Career Path
    • 6. State in class components
    • 7. Setting state in class components
    • 8. Challenge: convert to a class component with state
    • 9. Constructor method in class components
    • 10. Challenge: constructor method
    • 11. Updating complex state with this.setState()
    • 12. Lifecycle Methods Intro
    • 13. Lifecycle methods: componentDidMount() 👶
    • 14. Lifecycle methods: componentDidUpdate() part 1 ✏️
    • 15. Lifecycle methods: componentDidUpdate() part 2 ✏️
    • 16. Lifecycle methods: componentWillUnmount() 🪦
    • 17. Other Lifecycle Methods

Reviews

Start your review of Learn Class Components in React

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.