Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Assignment Submission: Timeline
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection
1.) What is a Component in React?
A component is a JavaScript class or function that accepts inputs in a form of props and returns a React element that describes how a section of the UI should appear.
What are props in React?
We know that React is a component-based library that divides the UI into smaller reusable pieces. And when components need to send data to each other, props are used to do that between components. Since the relationship is parent/child, the way data is passed is from parent to child. The data that is being passed using props also can't be changed by the child components. In short, Props are arguments passed into React components.
How did you use props in this project?
I used props to pass data to a child component, and parse out person, status, and time for each event at the lower timeline event-level and render the props data.