Class 1
Back to home page
Component based architecture
Q. What is a “component”?
- components are modular, portable, replaceable, and reusable sets of functions that are meant to interact with other components.
Q. What are the characteristics of a component?
- component characteristics include being reusable, replacable, modular, independent (meaning they dont rely on other components to function) and are extendable.
Q. What are the advantages of using component-based architecture?
- advantages of components include being ease of updates, ease of deployment, reduced dev time, reusability and reduced maintenance.
Props and how to use it with react
Q. What is “props” short for?
- props is short for properties.
Q. How are props used in React?
- props are used to pass down data from one component to another.
Q. What is the flow of props?
- they are passed one way, or parent to child.
Things I want to learn more about
I want to see more examples of the syntax used for props and components, as well as how they are all used with react.