Skip to content

Time - Corinna + Jessica#1

Open
jesshliang wants to merge 24 commits into
Ada-C13:masterfrom
jesshliang:master
Open

Time - Corinna + Jessica#1
jesshliang wants to merge 24 commits into
Ada-C13:masterfrom
jesshliang:master

Conversation

@jesshliang

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? Data is pulled from the API at the level of NewCardForm. This data is then parsed and ended to existing card list as Card components. These are then passed and loaded into the board.
What function did you use to make the GET request from the API to get the list of cards? Why use that function? We used useEffect to make the GET request, because it allows us to dynamically render the API data on the page, separately from rendering the entire page. Changes to deletion and addition happen immediately.
How do snapshot tests differ from unit tests? Snapshot test provide a window into one moment of the application, instead of testing of it doing something. It is more visual, than functional.
What purpose does Enzyme serve in testing a React app? Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components' output.

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