Hi, I've been using Nuke for a while and I love it, but I noticed that there's a noticible flash when switching between tabs https://github.com/kean/Nuke/assets/15687450/3a3afeb2-01fc-49b5-b69d-4ea53113d6ec as compared to say Kingfisher https://github.com/kean/Nuke/assets/15687450/e2bbb330-dd7f-48c0-b318-b419b819a848 Here's the code for both (url: URL, color: Color): Nuke: ``` @MainActor @ViewBuilder private func NukeImageView() -> some View { LazyImage(url: url) { state in if let image = state.image { image .resizable() .aspectRatio(contentMode: .fill) } else { color } } } ``` Kingfisher: ``` @ViewBuilder private func KFImageView() -> some View { KFImage(url) .contentConfigure { image in image .resizable() .aspectRatio(contentMode: .fill) } .placeholder { color } } ``` I see no flash with the built-in AsyncImage either: ``` @ViewBuilder private func ImageView() -> some View { AsyncImage(url: url) { image in image .resizable() .aspectRatio(contentMode: .fill) } placeholder: { color } } ```
Hi,
I've been using Nuke for a while and I love it, but I noticed that there's a noticible flash when switching between tabs
Nuke.mp4
as compared to say Kingfisher
Kingfisher.mp4
Here's the code for both (url: URL, color: Color):
Nuke:
Kingfisher:
I see no flash with the built-in AsyncImage either: