reading-notes

Introduction to React and Components

Component-Based Architecture

  1. What is a “component”?

    A component is an independent and modular set of functionality implemented by a software object.

  2. What are the characteristics of a component?

    • Reusable
    • Replaceable
    • Not context specific
    • Extensible
    • Encapsulated
    • Independent
  3. What are the advantages of using component-based architecture?

    Component based architecture can make it easier development and deploy different parts of an interface. Additionally, by breaking the interface into component it makes it more reusable and easier to maintain.

What is Props and How to Use it in React

  1. What is “props” short for?

    “props” is short for properties

  2. How are props used in React?

    Props are used to pass date between components.

  3. What is the flow of props?

    Props flow one-way from parent to children.

Things I want to know more about

References