• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
Log In
Join for Free
Coursera
Scrimba
Learn Class Components in React
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  1. Browse
  2. Computer Science
  3. Software Development
Scrimba

Learn Class Components in React

This course is part of Advanced React Skills Specialization

Bob Ziroll

Instructor: Bob Ziroll

Included with Coursera Plus

•Learn more
1 module
Gain insight into a topic and learn the fundamentals.
Intermediate level
Some related experience required
1 hour to complete
Flexible schedule
Learn at your own pace

1 module
Gain insight into a topic and learn the fundamentals.
Intermediate level
Some related experience required
1 hour to complete
Flexible schedule
Learn at your own pace
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials

Skills you'll gain

  • Javascript
  • React.js

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

1 assignment

Taught in English

See how employees at top companies are mastering in-demand skills

Learn more about Coursera for Business
 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Advanced React Skills Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There is 1 module in this course

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 - who knows!

In this course, Bob Ziroll 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.

Although modern React tends to use functional components, knowledge of class components remains a useful skill to have in your toolbox. Learn the basics of class components with a collection of interactive challenges designed to get you coding as much as possible.

What's included

1 assignment17 plugins

1 assignment•Total 20 minutes
  • React Class Components Quiz•20 minutes
17 plugins•Total 80 minutes
  • Let's Learn Class Components•4 minutes
  • Welcome to interactive lessons!•1 minute
  • ES6 classes review•5 minutes
  • Intro to class components•4 minutes
  • Class components practice•3 minutes
  • State in class components•3 minutes
  • Setting state in class components•6 minutes
  • Challenge: convert to a class component with state•6 minutes
  • Constructor method in class components•8 minutes
  • Challenge: constructor method•2 minutes
  • Updating complex state with this.setState()•7 minutes
  • Lifecycle Methods Intro•3 minutes
  • Lifecycle methods: componentDidMount() 👶•7 minutes
  • Lifecycle methods: componentDidUpdate() part 1 ✏️•7 minutes
  • Lifecycle methods: componentDidUpdate() part 2 ✏️•7 minutes
  • Lifecycle methods: componentWillUnmount() 🪦•4 minutes
  • Other Lifecycle Methods•3 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Bob Ziroll
Bob Ziroll
Scrimba
14 Courses•38,827 learners

Offered by

Scrimba

Offered by

Scrimba

Scrimba is an interactive code-learning platform with over a million users from all over the world. They feature highly interactive and engaging courses about programming and web development.

Explore more from Software Development

  • Status: Free Trial
    Free Trial
    S

    Scrimba

    Learn Styled Components in React

    Course

  • Status: Free Trial
    Free Trial
    S

    Scrimba

    Advanced React Skills

    Specialization

  • Status: Free Trial
    Free Trial
    S

    Scrimba

    Learn React

    Course

  • Status: Free Trial
    Free Trial
    S

    Scrimba

    Learn Advanced React

    Course

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Learn more

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Explore degrees

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Learn more

Frequently asked questions

Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:

  • The course may not offer an audit option. You can try a Free Trial instead, or apply for Financial Aid.

  • The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policyOpens in a new tab.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

More questions

Visit the learner help center

Financial aid available,

Coursera Footer

Technical Skills

  • ChatGPT
  • Coding
  • Computer Science
  • Cybersecurity
  • DevOps
  • Ethical Hacking
  • Generative AI
  • Java Programming
  • Python
  • Web Development

Analytical Skills

  • Artificial Intelligence
  • Big Data
  • Business Analysis
  • Data Analytics
  • Data Science
  • Financial Modeling
  • Machine Learning
  • Microsoft Excel
  • Microsoft Power BI
  • SQL

Business Skills

  • Accounting
  • Digital Marketing
  • E-commerce
  • Finance
  • Google
  • Graphic Design
  • IBM
  • Marketing
  • Project Management
  • Social Media Marketing

Career Resources

  • Essential IT Certifications
  • High-Income Skills to Learn
  • How to Get a PMP Certification
  • How to Learn Artificial Intelligence
  • Popular Cybersecurity Certifications
  • Popular Data Analytics Certifications
  • What Does a Data Analyst Do?
  • Career Development Resources
  • Career Aptitude Test
  • Share your Coursera Learning Story

Coursera

  • About
  • What We Offer
  • Leadership
  • Careers
  • Catalog
  • Coursera Plus
  • Professional Certificates
  • MasterTrack® Certificates
  • Degrees
  • For Enterprise
  • For Government
  • For Campus
  • Become a Partner
  • Social Impact
  • Free Courses
  • ECTS Credit Recommendations

Community

  • Learners
  • Partners
  • Beta Testers
  • Blog
  • The Coursera Podcast
  • Tech Blog

More

  • Press
  • Investors
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Contact
  • Articles
  • Directory
  • Affiliates
  • Modern Slavery Statement
  • Do Not Sell/Share
Learn Anywhere
Download on the App Store
Get it on Google Play
Logo of Certified B Corporation
© 2025 Coursera Inc. All rights reserved.
  • Coursera Facebook
  • Coursera Linkedin
  • Coursera Twitter
  • Coursera YouTube
  • Coursera Instagram
  • Coursera TikTok
Coursera

Sign up

Learn on your own time from top universities and businesses.

​
​
Between 8 and 72 characters
Your password is hidden
​

or

Already on Coursera?


Having trouble logging in? Learner help center

This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.