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

Selam Ainalem Amperes #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SelamawitA
Copy link

@SelamawitA SelamawitA commented May 29, 2018

React Timeline

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Explain what purpose a component serves in React? Components are a javascript class that contain both the behavior and pieces of code (HTML/CSS) that will be displayed to the user. They are capable of being "instantiated" by way of passing in information through props.
How does adding dynamic content to a web page in React compare to jQuery? Adding new content seems easier in jQuery, there is a built in methods append(),toggle(),html(),show() etc to modify or toggle between elements but react is more readable and offers the benefit of the Virtual DOM which targets changes in the DOM for updates rather than completely rebuilding elements.
How did you use props in this project? They were used to pass in information as an element was being created within a render function. For example, within TimelineEvent.js the props used were for person, status, and timeStamp. Person, status, and timeStamp were all values that were all passed in as the class was created - note timeStamp was also used to create a timeStamp component.
Do you have any recommendations on how we could improve this project for the next cohort? More discussion on why React is important, how it is different/better/worse than jQuery. More in depth discussion on DOM. I get what these things are individually but it is hard to connect how they fit together, and where they fit in the grander picture of the internet.

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