Skip to content

Sockets - Kelly#24

Open
kdow wants to merge 9 commits intoAda-C11:masterfrom
kdow:master
Open

Sockets - Kelly#24
kdow wants to merge 9 commits intoAda-C11:masterfrom
kdow:master

Conversation

@kdow
Copy link
Copy Markdown

@kdow kdow commented Jun 24, 2019

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? When the form is submitted, it will trigger the addCard function in NewCardForm which calls the addCardCallback in Board which posts the data and sets the state to include the new card.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? componentDidMount so we ensure that the app and data is loaded efficiently.
How do snapshot tests differ from unit tests? The program code must already have been written in order to make a snapshot test.
What purpose does Enzyme serve in testing a React app? It allows for creating shallow and deep snapshots.

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