reading-notes
React and Components
Component Based Architecture
What is a component?
Modular, portable, replaceable, and reusable set of functional code
What are the characteristics of a component?
Reusable
Replaceable
Not context specific
Extensible
Encapsulated
Independent
What are the advantages of using component based architecture?
faster development time due to reusing components instead of building from nothing every time
increased reliability from reusing previously working code
Easy 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?
Passing data from one component to another
What is the flow of props?
Uni-directional
one way - from parent to child
read only
should not be changed by child components
Things I Want to Know More About
React keywords
href vs src
Resources
Component Based Architecture
Props
React Docs