What does fetch() return?
a promise
What is the default request method used by fetch()?
GET
How do you specify the request method (GET, POST, etc.) when calling fetch?
WIthin the init object as the second argument of the function
method: ‘POST’
When does React call a component’s componentDidMount method?
immediately after a component is mounted
after the render method is called for the first time (only gets called once)
Name three React.Component lifecycle methods.
componentDidMount(), render(), constructor()
componentDidUpdate(prevProps, prevState)
componentWillUnmount()
How do you pass data to a child component?
setting it in an array in a state