The project has three components that showcase ways to handle errors in React:
CustomHandling/NoHandling.tsx
has an example of no handling (please do not do this)CustomHandling/BasicHandling.tsx
has an example with a field that shows the user when an error occursCustomHandling/SnackbarHandling.tsx
has a better example of error handling with a snackbar componentCustomhandling/HookHandling.tsx
has an example of error handling that listens for error fileds in a custom hookReactErrorBoundary/ReactErrorBoundary.tsx
has an example that showcasers react-error-boundary