How to utilize JavaScript Promise objects in React
A class component with a Promise using anonymous functions for result and error params in .then
A class component with a Promise using lambda functions for result and error paramters in .then
A class component with a Promise using separate functions for result and error params
A functional component with a Promise
A class component that uses a Promise imported from another file
A functional component that uses a Promise imported from another file