Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.76 KB

File metadata and controls

38 lines (23 loc) · 1.76 KB

Readings

What is a Component?

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

What are Characteristics of a component?

  • characteristics include, reusability, replaceable, not context specific, extensible, encapsulated, independent.

What are the advantages of using component-based architecture?

  • some advantages are, ease of deployment, reduced cost, reusable, modification of technichal complexity, reliability, system maintenance and evolution, independent.

What is props short for?

  • props is short for properties and is being used for pasing data from one component to another.

How are props used in react?

  • they are used by defining an atttributeand its value, then pass it to child components by using props, then render the propps data.

What is the flow of props?

  • uni-directional flow (from parent to child)

Links to futher reading

things I want to know more about

  • I want to know more about component based architechture.