- Each person in your group should take one of the following topics and explain it to the group in their own words. Be sure to provide concrete examples in your explanations. For the remaining topics, discuss them as a whole group.
- Node Package Manager
- Imperative vs Declarative
- Components
- JSX
- Imports and Exports
- Props
- When would you use props in react?
- Assuming UserDetail is a component, what will it's props be if it's rendered as follows:
const user = {name: 'Spider Man', age: 32}
<UserDetail title="Profile Page" dog="Fido" user={user} />
Declarative: Describes what a program should accomplish
6.React Props are like function arguments in JavaScript and attributes in HTML.