Skip to content

Conversation

@qqdipps
Copy link

@qqdipps qqdipps 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?

Copy link

@MyriamWD MyriamWD left a comment

Choose a reason for hiding this comment

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

Hi Sav,

Great job! Your code is very readable and you use semantic HTML in all the components. I like that you implemented CSS selectors to style the web-app.

<h1 className="App-title">Super Awesome Timeline</h1>
</header>
<main className="App-main">
<Timeline events={timelineObjects} />

Choose a reason for hiding this comment

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

Nice work passing the prop to the Timeline component

<Timestamp time={prop.time} />
</div>
</section>
);

Choose a reason for hiding this comment

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

Great use of semantic HTML on this component 👍

person: timelineObject.person,
status: timelineObject.status,
};
});

Choose a reason for hiding this comment

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

You might be able to pass the props to Timeline without mapping the data.

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