Skip to content

Commit 4f7998d

Browse files
committed
chore(doc): update recycle view behavior doc, close #169
1 parent 99bb972 commit 4f7998d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ There are three parameters that are passed to the function (`getMore(topIndex, i
156156
</div>
157157
</template>
158158
```
159-
4. Similar to (3), virtualization requires appropriate removing and inserting visible items, corresponding lifecycle of items view will also be triggered while inserting (`bind`, `attached`) or removing (`unbind`, `detached`)
159+
4. Similar to (3), virtualization requires appropriate removing and inserting visible items, so not all views will have their lifecycle invoked repeatedly. Rather, their binding contexts will be updated accordingly when the virtual repeat reuses the view and view model. To work around this, you can have your components work in a reactive way, which is natural in an Aurelia application. An example is to handle changes in change handler callback.
160160

161161
## [Demo](https://aurelia-ui-virtualization.now.sh/)
162162

0 commit comments

Comments
 (0)