Skip to the content.

Things I want to know more about

1.What is a component? 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.

2.What are the charactistics of a component?

3.What are the advantages of using component based architecture?


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

What is the flow of props?

data with props are being passed in a uni-directional flow. (one way from parent to child)

refrance01

refrance02