Skip to content

Space - Lak and Katie#9

Open
ktvoort123 wants to merge 7 commits into
Ada-C13:masterfrom
ktvoort123:master
Open

Space - Lak and Katie#9
ktvoort123 wants to merge 7 commits into
Ada-C13:masterfrom
ktvoort123:master

Conversation

@ktvoort123

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? The data goes from the NewCardForm to the Board, and then the board creates an API call to add the card to the API, and it creates a Card component with the card information.
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, and then useEffect called Axios to make the request to the API. We used useEffect so that it only ran one time, after the page loaded for the first time.
How do snapshot tests differ from unit tests? Snapshot tests are different from unit tests because they are creating a snapshot of the component and then comparing how the component renders as you make changes.
What purpose does Enzyme serve in testing a React app? Enzyme is a React JavaScript Testing utility that makes it easier to test your React Components' output--it allows you to simulate runtime given the output. (source: https://enzymejs.github.io/enzyme/)

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