Skip to content

Conversation

@SuelyBarreto
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? It is a piece of code (a class or a function) that you create using Javascript. A React application is built using components.
What are props in React? They are data that you pass to a component in React. They work like parameters in Ruby or Javascript.
How did you use props in this project? I used in the App component to pass the timeline data to the Timeline component. I also used in the Timeline component to pass event details to the TimelineEvent component. Finally, in the TimelineEvent I passed the timestamp to the Timestamp component.

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