reading-notes

My reading notes journal for Code Fellows

View the Project on GitHub

*Readings: Introduction to React and Components

Component-Based Architecture

  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.
  2. What are the characteristics of a component? Reusability, Replaceable, Not Context specific, extensible, encapsulated, and independent.
  3. What are the advantages of using component-based architecture? Ease of deployment, Reduced cost, Ease of development, Reusable, Modification of technical complexity, reliability, system maintenance and evolution, and independent.

What is Props and How to Use it in React

  1. What is “props” short for? Properties.
  2. How are props used in React? Passing Data, rendering props data.
  3. What is the flow of props? Define attribute, child components, and lastly render props data.