Slow rendering of an *ngFor list view

337 views
Skip to first unread message

Birowsky

unread,
Sep 30, 2016, 5:24:10 AM9/30/16
to AngularJS
The detailed discussion is in StackOverflow: http://stackoverflow.com/q/39778634/592641

But here's the jist of it:

I'm rendering out a list view of quite complex component using *ngFor. 

Instead of what i expected to be out-of-the-dom html construction and single push to render it into the dom, there is a separate appendChild call for what seems to be every little binding in the iterated component. 

The result is almost 2 seconds locked ui on desktop, and almost 4 seconds locked ui on mobile device.

I really hope i'm doing something wrong.

Birowsky

unread,
Sep 30, 2016, 9:07:56 AM9/30/16
to AngularJS
Whoever helps us out with this, gets paid: 


Sander Elias

unread,
Oct 3, 2016, 9:02:41 AM10/3/16
to AngularJS
Hi Birowsky,

Can You get me some example code/project that show's this behaviour? As I'm not a codementor, I can't get to your project in there.
If I can't solve this for you, I will put it to the core-team. This is something that needs to be dealt with.

Regards
Sander

Birowsky

unread,
Oct 3, 2016, 9:09:20 AM10/3/16
to AngularJS
Sorry, i'm not at liberty to share the code. I don't mind doing a screen share if you are up for it tho. skype: b1rowsky
Reply all
Reply to author
Forward
0 new messages