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.
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
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.