-
-
Notifications
You must be signed in to change notification settings - Fork 202
docs: Document Grid Performance Optimizations (Row/Cell Recycling) #9158
Copy link
Copy link
Closed
Labels
aidocumentationImprovements or additions to documentationImprovements or additions to documentationperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
The recent performance optimizations for the Grid (#9156 and #9157) introduced significant logic changes to Neo.grid.Body and Neo.grid.Row.
These changes need to be reflected in the JSDoc to ensure future maintainability and understanding of the "Row Skipping" and "Cell Recycling" strategies.
Changes:
- Neo.grid.Body.createViewData: Document the
forceparameter and the auto-detection logic for horizontal scrolling/resizing. Explain the three optimization strategies (Row Skipping, Cell Recycling, Forced Updates). - Neo.grid.Row.createVdom: Document the "Cell Recycling" strategy, specifically how the
recycleflag andoldCnMap lookup work to prevent redundant cell re-rendering during horizontal scrolling. - Neo.grid.Row.updateContent: Ensure the params
forceandrecycleare well-documented. (Already done in implementation, but good to double-check consistency).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aidocumentationImprovements or additions to documentationImprovements or additions to documentationperformancePerformance improvements and optimizationsPerformance improvements and optimizations