Skip to content

Conversation

@katemyer
Copy link

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? Reusable and independent bits of code. Similar to Javascript functions but returns HTML via a render function.
What are props in React? Properties used for passing data from one component to another.
How did you use props in this project? When moving the array of events (from timeline.json) up to the App.js level, giving it a const name of events, then passing this as a props into the const TimeLine as a parameter.

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