Open ryukzak opened 3 years ago
Right now, usually, in case of a network error, we use console.log() or (which is better) alert(). We need to fix this:
console.log()
alert()
How to reproduce:
yarn start
An error message should be helpful. For example, we can include expecting server port.
RequestResult utility component (components/utils/RequestResult) can be used to conveniently
RequestResult
components/utils/RequestResult
See usage for examples.
Right now, usually, in case of a network error, we use
console.log()
or (which is better)alert()
. We need to fix this:How to reproduce:
yarn start
;An error message should be helpful. For example, we can include expecting server port.