reading-notes
My reading notes
Project maintained by brandomoki
Hosted on GitHub Pages — Theme by mattgraham
Introductions to React and Components
Component Based Architecture
- 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.
- 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
- Reuseability
- Modification of technical complexity
- Reliability
- System maintenance and evolution
- Independent
What is Props and How to use in React
- What is a props short for?
- props stands for properties
- How are props used in React?
- assigned like an attribute then passed to components lke function arguments
- What is the flow of props?
- Uni-directional from the parent