Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop refetching on every size change by default #40

Merged
merged 1 commit into from Jul 9, 2020

Conversation

chrisbanes
Copy link
Contributor

Currently we invoke Coil on every size change, which is correct but a lot of wasted work most of the time. We no longer re-fetch on every size change. If developers want to customize this, they can use the new shouldRefetchOnSizeChange lambda parameter to allow re-fetching as they see fit.

Currently we invoke Coil on every size change, which is correct
but a lot of wasted work most of the time. We no longer re-fetch
on every size change. If developers want to customize this, they
can use the new `shouldRefetchOnSizeChange` lambda parameter
to allow re-fetching as they see fit.
@chrisbanes chrisbanes merged commit 2e4a596 into main Jul 9, 2020
@chrisbanes chrisbanes deleted the cb/reload-on-size-change branch July 9, 2020 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants