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

fixes the issue where WebImage is constantly rerendered #1721

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joshuatbrown
Copy link
Contributor

@joshuatbrown joshuatbrown commented Jan 3, 2025

Issues covered

https://github.com/verse-pbc/issues/issues/110

Description

See the ticket description for more, but WebImage was constantly re-rendered after scrolling a bit in the feed, then stopping. The render count just kept going up and up and up in Instruments.

How to test

  1. Profile the app using the SwiftUI instrument on main
  2. Navigate to the feed
  3. Scroll a bit
  4. Watch the render count of WebImage increase to infinity and beyond
  5. Switch to this branch (fix-rerender) and start again from the top
  6. No infinite renders on this branch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant