Repository navigation
Commit d873fae
committed
docs(mobile): scope the recycler estimate claim and document the sidebar divider
Two audit callouts on exact e8d01cc, both wording rather than behavior:
- The pool warning is mitigated for the seeded short-list regime, not
eliminated: after first layout the full drawDistance applies, so a sudden
expansion past the pooled headroom (~25+ items at once) still creates a
container on demand, dev-only, one pass ahead of the measured-height pool
growth. The constant's comment now says that, and drops a formula that
described the post-layout span rather than the initial seed.
- The sidebar deliberately does not consume the per-item
showTrailingDivider stamp: it never passed the prop even before the list
was recycled, so its hairline under every row is the status-quo look, and
changing it is out of scope for a perf PR. The stamp still rides the
shared items (Home needs it); the sidebar's cost is the occasional
divider-only invalidation that re-renders identically. Commented at the
render site.1 parent e8d01cc commit d873fae
2 files changed
Lines changed: 20 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
913 | 921 | | |
914 | 922 | | |
915 | 923 | | |
| |||
0 commit comments