This PR enhances the useSSE hook to include robust reconnection logic with exponential backoff, a maximum retry limit, and user notifications for connection failures. These improvements ensure that the application can gracefully handle connection issues with the server and provide feedback to the user if the connection cannot be re-established.
This PR enhances the useSSE hook to include robust reconnection logic with exponential backoff, a maximum retry limit, and user notifications for connection failures. These improvements ensure that the application can gracefully handle connection issues with the server and provide feedback to the user if the connection cannot be re-established.