Open thedanielforum opened 6 years ago
If the API returns a error the component should display a default error message, or a user customised one.
Question to be raised here: If API failed, wouldn't it mean that the component is unable to connect to received the required data?
Correct if the api call fails the component would not be able to load data.
If the API returns a error the component should display a default error message, or a user customised one.