Reading-Notes

Class 27 Summary:

Hook :

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

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

Document the following Vocabulary Terms:

Term  
Functional Components are basic JavaScript functions. These are typically arrow functions but can also be created with the regular function keyword
Children / Child Components Children allow you to pass components as data to other components, just like any other prop you use. The special thing about children is that React provides support through its ReactElement API and JSX. XML children translate perfectly to React children

Hooks :

Use Hooks :

Using the State Hook :

image3

Hooks at a Glance :

Hooks API Reference :

Basic Hooks
Additional Hooks

Sources :

source1

source2

source3

source4

source5

source6