Error Handling
Error Handling
๐จโ๐ผ If the user has a bad network connection or something we want to handle that
error case gracefully. Please wrap the
ShipDetails in an ErrorBoundary from
react-error-boundary.You can test this out by changing the
shipName to a ship that doesn't exist.
We also have a good fallback for you to use that ๐งโโ๏ธ Kellie made called
ShipError. Good luck!