Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aruna(ampers) #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Aruna(ampers) #25

wants to merge 4 commits into from

Conversation

aruna79
Copy link

@aruna79 aruna79 commented May 28, 2018

React Timeline

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Explain what purpose a component serves in React? A component can get data from database or API, then format into HTML, also can render other components. It connects data and views.
How does adding dynamic content to a web page in React compare to jQuery? In react, when a higher level component renders a view, lower level of components will be rendered. It depends which component is called. In jQuery, we need to add events and handle events when they're triggered.
How did you use props in this project? Timeline imports data from a JSON file, then passes the information to TimelineEvents. In class TimelineEvent, data is retrieved by calling this.props. Similar thing happens inside of class Timestamp.
Do you have any recommendations on how we could improve this project for the next cohort?

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