8000 Ports - Kim by Kimberly-Fasbender · Pull Request #6 · Ada-C11/react-chatlog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Ports - Kim #6

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

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

Conversation

Kimberly-Fasbender
Copy link
@Kimberly-Fasbender Kimberly-Fasbender commented Jun 11, 2019

React Chat Log

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What purpose do components serve in React? To make code more modular, by creating small parts of a webpage that can be re-used over and over again, nested inside of other components, or used as containers for other components.
How does adding dynamic content to a web page in React compare to jQuery? They feel distinctly different, but React seems much more organized and easier to read to me. I'm also really enjoying not having to refresh the browser to see my changes since they take effect immediately upon saving. Also, we haven't done anything with event listeners or events in React yet, so definitely missing that and waiting to see how that feels in comparison to jQuery.
How did you use props in this project? I used them to pass information from one component to another. For example, I passed the JSON data from the Apps component to the ChatLog component, where I was able to iterate through it and pass each object attribute to the ChatBubble component as props as well. In the ChatBubble component I was able to use those props in order to construct each individual chat bubble, and was also able to send the timeStamp attribute from the JSON file on to the TimeStamp component in order to display it nicely.
Do you have any recommendations on how we could improve this project for the next cohort? I really liked this project, but it seemed like almost an exact mirror of the Ada Timeline project. Maybe make it a little different to inspire more creative thinking.

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
0