add row virtualization#5146
Open
benwolski wants to merge 3 commits into
Open
Conversation
…xed row heights, memoize PoolRow and TokenRow components, implement useVirtualRowWindow hook for windowed rendering with configurable overscan, add search query filtering with scroll reset on clear, and include visual spacers with repeating gradient to show placeholder rows during fast scrolling
✅ Deploy Preview for ambient-finance ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for plume-ambient-finance ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for dev-ambi ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…s, refactor InfiniteScroll component to use virtual scrolling with useRowVirtualizer hook, replace page-based pagination with continuous scroll loading via useInfiniteScrollData hook, add scroll-to-top button with visibility toggle based on scroll position, implement dynamic row height measurement with 35px default fallback, simplify data fetching logic by removing page count tracking and blacklist mechanisms, and move helper functions to virtual
…driven re-renders from data merge logic, increase overscan from 10 to 50 rows for smoother fast scrolling, add willChange transform hint to virtualized container, replace inline scroll handler with useRef guard pattern to avoid re-subscriptions, consolidate scroll reset triggers into single resetKey prop, and switch TableRows keys from index to stable IDs (positionId, txId/txHash, limitOrderId)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add virtual scrolling to TopPools and DexTokens lists with 40-50px fi…xed row heights, memoize PoolRow and TokenRow components, implement useVirtualRowWindow hook for windowed rendering with configurable overscan, add search query filtering with scroll reset on clear, and include visual spacers with repeating gradient to show placeholder rows during fast scrolling