Reactjs Functional Component (Step by Step)

Опубликовано: 20 Октябрь 2024
на канале: TechMentor
65
3

The best way to describe React Component is by writing a Javascript Function. React Component accept props(properties) and returns a JSX(Javascript XML). JSX Is simple HTML like markup with javascript embedded in it.
This type of component is called a functional component because they are literally javascript functions.