You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/base/links-to-many-component.gts
+1-12
Original file line number
Diff line number
Diff line change
@@ -465,22 +465,11 @@ export function getLinksToManyComponent({
465
465
</style>
466
466
</template>
467
467
};
468
-
let stableComponents =newMap<string, BoxComponent[]>();
469
468
returnnewProxy(linksToManyComponent, {
470
469
get(target, property, received) {
471
470
// proxying the bare minimum of an Array in order to render within a
472
471
// template. add more getters as necessary...
473
-
474
-
//we need stable components to ensure the modifier remains on the linksToManyComponent and doesn't get recreated
475
-
//test would break otherwise but the expected behavior still works in the app (this has to do with the sortable modifier readiness when the component is torn down)
476
-
//we previously had a stable component cache in the proxy but removed it since we believe it is not needed
477
-
//in order to fix test, I have moved a cache here since this seems like the only place it is affected
0 commit comments