Skip to content

Conversation

aribray
Copy link

@aribray aribray commented Jun 11, 2019

React Timeline

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Explain what purpose a component serves in React?
How does adding dynamic content to a web page in React compare to jQuery?
How did you use props in this project?
Do you have any recommendations on how we could improve this project for the next cohort?


const Timeline = (props) => {

const timelineComponents = props.events.map((timeline, i) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice nesting of these functions 👍

return;
const TimelineEvent = (props) => {
return (
<section>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forgot to indent for this section 😁

<div className="App">
<header className="App-header">
<h1 className="App-title">Application title</h1>
<h1 className="App-title">I Do Not Like This Sam I Am</h1>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂 React is awesome though!

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.

2 participants