perf(network): Improved performance and reactiveness of the UI by speeding up network requests and clearing the channel whenever a request is cancelled/the UI is routing
This commit is contained in:
1 parent
a708f71d57
commit
8c90221a81
6 files changed
+130
-82
No files matched your search
@@ -165,7 +165,7 @@ impl<'a> App<'a> {
|
||||
}
|
||||
|
||||
if self.is_routing {
|
||||
if self.is_loading && !self.should_refresh {
|
||||
if !self.should_refresh {
|
||||
self.cancellation_token.cancel();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user