Skip to content

Time - Yoyo and Quin #16

Open
quinqu wants to merge 13 commits into
Ada-C13:masterfrom
quinqu:master
Open

Time - Yoyo and Quin #16
quinqu wants to merge 13 commits into
Ada-C13:masterfrom
quinqu:master

Conversation

@quinqu

@quinqu quinqu commented Apr 26, 2020

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? It goes from an object from NewCardForm to Board in a function as an object, then it gets added to the cards array, and then it's created into a card component.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? useEffect. We use this because it can easily unmount and mount things and change the state.
How do snapshot tests differ from unit tests? It's more shallow, you're simply testing what's rendered on the page, not functionality.
What purpose does Enzyme serve in testing a React app? It helps us test our React components outputs

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