This app could use some global error handling (probably with a generic "an error has occurred" message of some sort that throws a Toast message to prevent silent errors. Implement this using a global error boundary on the root component and throw a toast message like so
toast.current.show({
severity: 'error',
summary: 'Error',
detail: "An error has occurred",
})
This app could use some global error handling (probably with a generic "an error has occurred" message of some sort that throws a Toast message to prevent silent errors. Implement this using a global error boundary on the root component and throw a toast message like so