Skip to content

Conversation

@aecombs
Copy link

@aecombs aecombs commented Apr 16, 2020

Assignment Submission: Timeline

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Prompt Response
What is a Component in React? Components are the "filling" to our React pie-- they're rendered by the App.js file and hold a single function.
What are props in React? Props are the variable we use to communicate from parent to child, or from any file that is rendering a component.
How did you use props in this project? We used props a couple of times -- when calling Timeline in our App and passing the raw json, and then inside of Timeline when we called TimelineEvents and passed the refined json into it to return a TimelineEvent object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant