fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Errors - a choice for "Blank screen of death" ?

Open jsb188 opened this issue 8 months ago • 4 comments

In Deno, production or development, when there's an error, it breaks the app but it's handled silently. Javascript simply ceases to work. I can't click on anything, I can't navigate anywhere, and I can't do any interactions what so ever.

This confuses the user, and it leaves the user thinking the app is frozen or taking a long time to do something when in reality, it's just broken.

In other React frameworks, you get a very "in your face" ERROR screen when the app breaks. In production, the entire screen goes blank, which leaves the user with no choice except to hit that refresh button.

I think this is a much better solution than how errors and broken apps are handled right now in Fresh.

Can we change the error behavior in Fresh to something like this please?

jsb188 avatar Jun 17 '24 21:06 jsb188