View on GitHub

reading-notes

Review, Research, and Discussion

How does React differ from vanilla JS/HTML/CSS?

What is the primary difference between a function component and a class component?

functional component is just a plain JavaScript function that accepts props as an argument and returns a React element. A class component requires you to extend from React. Component and create a render function which returns a React element. There is no render method used in functional components.

term Discripe
Functional Components functional component is just a plain JavaScript function that accepts props as an argument and returns a React element.
Children / Child Components its a props in react allow you to pass components as data to other components,

hooks


## refrences :