Introduction to React and Components

Introduction to React and Components

Component-Based Architecture

What is Props and How to Use it in React

Views of a Component

  1. Object-oriented view: A component is viewed as a set of one or more cooperating classes.
  2. Conventional view: It is viewed as a functional element or a module of a program that integrates the processing logic, the internal data structures that are required to implement the processing logic and an interface that enables the component to be invoked and data to be passed to it.
  3. Process-related view: Instead of creating each component from scratch, the system is building from existing components maintained in a library.

Return home