What seems to be the problem:
I have some components using the poll directive for refreshing data.
Whenever the model gets deleted, these components open a modal showing the 404 not found error.
I do not want that modal. I either want it to stay silent or a way of hooking into that error and for example generate a redirect to another page with a flash message.
Steps to Reproduce:
Create component with public eloquent based model property.
Use poll directive on component.
Delete model via db or something.
See error modal popping up.
Are you using the latest version of Livewire:
Yes
Do you have any screenshots or code examples: