reading-notes

Introduction to React and Components

Componenet-Based Architecture

1. What is a “component”?

A component is like a pre-written software object that serves the same function as a JavaScript function.

2. What are the characteristics of a component?

Some characteristics of components are: reusability, replacability, flexibility, extensibility, encapsulation, and minimal dependence on other components.

3. What are the advantages of using component-based architecture?

Some of the advantages of component-based architechtures are reduced time and cost to develop and deploy an application as well as the consistency and reliability of reusing existing componenets.

What is Props and How to Use it in React

1. What is “props” short for?

“Props” is short for: properties and is a keyword in React.

2. How are props used in React?

Props are used to send data between components in React from parent to children.

3. What is the flow of props?

Props can only be passed from parent to children in React.

Bookmark and Review

Things I Want To Know More About

Previous Reading

Next Reading