reading-notes

Component is

A component is a modular, portable, replaceable, and reusable set of well-defined functionality that encapsulates its implementation and exporting it as a higher-level interface.

A component is a software object, intended to interact with other components, encapsulating certain functionality or a set of functionalities. It has an obviously defined interface and conforms to a recommended behavior common to all components within an architecture.

the charactistics of a component

Advantages

What is props short for ?

Props is a special keyword in React, which stands for properties and is being used for passing data from one component to another.

How are props used in React?

1- Firstly, define an attribute and its value(data)

2- Then pass it to child component(s) by using Props

3- Finally, render the Props Data.