safaehar commented on PR #74663: URL: https://github.com/apache/airflow/pull/74663#issuecomment-6314432334
> Let's make sure we are catching any dynamic loading errors: [remix-run/react-router#10333](https://github.com/remix-run/react-router/discussions/10333) @bbovenzi Good point. The root route already has an errorElement, so rejected lazy imports reach the error page, but the current Back/Home actions do not recover from a stale chunk after a deployment. I can add a recovery scoped specifically to dynamic imports: - On the first import failure, perform one hard reload (Guard it with sessionStorage to prevent reload loops.) - If loading still fails after the reload, rethrow to the route error boundary and provide an explicit “Reload page” action. what do you think ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
