inflearn logo

Life coding - React class vs. function style coding

This is a React-related lecture provided by Life Coding. You will learn how to write components in class and function style in React and examine the differences.

(4.9) 188 reviews

4,918 learners

Level Intermediate

Course period Unlimited

React
React
React
React

Reviews from Early Learners

4.9

5.0

Jang Jaehoon

60% enrolled

Thank you for the great lecture!

5.0

오영주

60% enrolled

Egoing, you're the best! Thank you always!

5.0

푸른잎

100% enrolled

Thank you.

What you will gain after the course

  • How to write class and function style components in React

  • Concept and usage of React Hooks

1. Lecture Introduction

There are two ways to write components in React.
Coding in class style and function style .

Class styles have all the features, but they are complex.
Functional style has limited functionality, but is simple.

The recent addition of hooks to the functional style has made it possible to create components in the functional style that rival the functionality of class-style components.

2. Course Objectives

This course will teach you how to write components by comparing the differences between class and function styles, creating identical components. We'll also cover how to use the recently introduced hook.

3. Prerequisite knowledge and prior learning

This course relies on the React course. If you're unfamiliar with React, we recommend taking that course first.
Go to the Life Coding React class

4. Full map

You can see the entire knowledge map by visiting the address below.
https://seomal.org/

6. Class Copyright

This lecture is licensed under a Creative Commons license and can be viewed at the link below.
https://opentutorials.org/module/4600 I would like to thank Life Coding for sharing valuable knowledge.

Recommended for
these people

Who is this course right for?

  • Learners who are more than beginners of React

  • For those who want to learn the difference between class style and function style

Need to know before starting?

  • React

Hello
This is Egoing Lee

314,087

Learners

8,709

Reviews

1

Answers

4.9

Rating

44

Courses

Published: 
Last updated: 

Reviews

All

188 reviews

4.9

188 reviews

  • oyj님의 프로필 이미지
    oyj

    Reviews 4

    Average Rating 5.0

    5

    60% enrolled

    Egoing, you're the best! Thank you always!

    • silverj20011499님의 프로필 이미지
      silverj20011499

      Reviews 2

      Average Rating 5.0

      5

      60% enrolled

      egoing is the best~ ^^

      • leaf님의 프로필 이미지
        leaf

        Reviews 33

        Average Rating 5.0

        5

        100% enrolled

        Thank you.

        • ehdrmfkal06244186님의 프로필 이미지
          ehdrmfkal06244186

          Reviews 2

          Average Rating 5.0

          5

          100% enrolled

          You explained it really well. I'm currently studying the book 'Technology for React Native', and since I was dealing with JavaScript and then components, I didn't really understand it. Haha. The cycle... was difficult. But I liked it because you explained it well.

          • jjhgwx님의 프로필 이미지
            jjhgwx

            Reviews 839

            Average Rating 4.9

            5

            60% enrolled

            Thank you for the great lecture!

            Egoing Lee's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!

            Free