[LiveComponent] Error handling on Networking Errors
I recently had an failure where in a Live Component Form on a Field validation sometimes there was a net::ERR_HTTP2_PROTOCOL_ERROR which caused the Js to crash (No more field validation or button interaction until reload).
I later also tried how a net::ERR_NETWORK_CHANGED gets handled, which caused the same crash.
Maybe it might be useful if there would be some recovery or retry method for Faulty Responses so no reload is necessary to be able to interact with the page again
You can listen to several events to catch/handle errors, in Symfony UX LiveComponent or directly in stimulus... ... but there is clearly something to improve here in term of DX
Maybe can you see with @YummYume who started some work about this (https://github.com/symfony/ux/issues/1891 and following) ?
Thanks for the hints i will look into it
Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?
Hello? This issue is about to be closed if nobody replies.
Hey,
I didn't hear anything so I'm going to close it. Feel free to comment if this is still relevant, I can always reopen!
It's still very much relevant
Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?
Relevant