Skip to content

Commit 568d8b1

Browse files
committed
feat(cdk): introduce new reconciliation algorithm & RxLiveCollection
Originally it was shipped by the angular team for the new @for control flow to reduce the amount of operations needed for swap operations. The original implementation is here https://github.com/angular/angular/blob/main/packages/core/src/render3/list_reconciliation.ts
1 parent ffe37a0 commit 568d8b1

File tree

3 files changed

+840
-0
lines changed

3 files changed

+840
-0
lines changed

libs/cdk/template/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export { LiveCollection, reconcile } from './lib/list-reconciliation';
12
export {
23
createListTemplateManager,
34
RxListManager,
@@ -13,6 +14,7 @@ export {
1314
RxRenderAware,
1415
RxViewContext,
1516
} from './lib/model';
17+
export { RxLiveCollection } from './lib/rx-live-collection';
1618
export {
1719
createTemplateManager,
1820
RxNotificationTemplateNameMap,

0 commit comments

Comments
 (0)