reading-notes

Code Fellows Notes

View project on GitHub

301 Reading One

Component Based Architecture

  • What is a component? from the website https://www.tutorialspoint.com/software_architecture_design/component_based_architecture.htm

    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.

  • What are the characteristics of a component?
  • Reusability
  • Replaceable
  • not context specific
  • extensible
  • Encapsulated
  • Independent

  • 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
  • independent

Props

  • What is “props” short for? Properties
  • How are props used in React? props are used for passing date from one component to another.
  • What is the flow of props? The flow is uni-directional from parent to child

Thinks I want to know more about

main