Skip to content

Space - Diana and Hala#6

Open
halahaddad1 wants to merge 33 commits into
Ada-C13:masterfrom
halahaddad1:master
Open

Space - Diana and Hala#6
halahaddad1 wants to merge 33 commits into
Ada-C13:masterfrom
halahaddad1:master

Conversation

@halahaddad1

Copy link
Copy Markdown

Inspiration Board

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
What is the flow of data from input on the form to being a new card on the board? Once you enter text into the input fields, the test gets stored as an object, which then gets transferred through the callback function, and then the object gets added to the API through the "Post" API request, then afterwards when the screen re-renders the new card gets loaded to the screen.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? We use useEffect for the Get request because we know that our card collection is going to be continuously updating and also un-mounting.
How do snapshot tests differ from unit tests? With snapshot tests you can't do TDD like you do with unit test.
What purpose does Enzyme serve in testing a React app? With Enzyme, it can find elements and interact with them and finally render components.

@dnguye2

dnguye2 commented Apr 28, 2020

Copy link
Copy Markdown

Github deployment: https://dnguye3.github.io/inspiration-board/

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