Hi, i think this issue is more for the *ngFor directive, as we try to display large items in a list, this takes some time to instantiate the dom elements that will hold the values of the variables, ngMaterial had a way to deal with it with virtual-repeat but i think the code isn’t compatible with angular 2, ionic 1 has some sort of solution to this inside their ion-list directives, and even angular 1 had something to deal with it with the track-by filter or something.
Will ionic 2 make something soon about this performance issue? i’m getting at least 5 sec delay while it shows a simple list with 240 items with just a name.
Yes i do bind a click, also infinite scroll is from ionic or is a third party library, what about collection-repeat, i didn’t see it in the component docs?
I have 1 click event for each element, looking in collection repeat, it is in the docs for ionic 1, is it available in ionic 2? Heres part of my template:
Which state of wip, still in dev, testing?, is it ready enough to try to use and reduce that freeze time?
I have another ion-list inside a multiline template in a popup with 5 items, the directives item-left and item-right doesn’t work there, is it fault of popup, ES6 template string or mine using ion-list in a weird context?
Custom styles are not relevant.
Even if you could replicate the issue in a smaller repo, that would be helpful.
It’s not functional yet. Few other more important things to work on before that.
Tonight i will try to make a plunker to replicate the issue.
Update: Since update to alpha.42 which uses angular alpha.52 the ngFor directive works a lot better, still with 240 records there’s a noticeable lag of 1 sec aprox.