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

Caroline Nardi - React Timeline - Octos #37

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

Conversation

cmn53
Copy link

@cmn53 cmn53 commented May 29, 2018

React Timeline

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Explain what purpose a component serves in React? A component is a small, reusable piece of code that acts as a building block in React.
How does adding dynamic content to a web page in React compare to jQuery? With jQuery, we were manually manipulating the actual DOM, but with React we are manipulating a virtual DOM, which is like a lightweight copy of the actual DOM. When changes are made to the virtual DOM, React updates only those objects that have changed in the actual DOM.
How did you use props in this project? I used props to send the timeline data (stored in the JSON file) from App.js to the Timeline component, and subsequently, to pass the individual event data in the JSON file from the Timeline to the TimelineEvent component.
Do you have any recommendations on how we could improve this project for the next cohort? Don't start it at 3:30 on Friday? (I'm kidding; it was fine.)

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