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?
Optional second argument which is an object that has the property “method” which specifies the request method.
When does React call a component’s componentDidMount method?
Constructor runs then immediately render() is called then DOM is updated, then componentDidMount() is called.
Name three React.Component lifecycle methods.
constructor
render
componentDidMount
componentDidUpdate
componentWillUnmount
How do you pass data to a child component?
As a prop.