I have a scenario where the server returns object maps rather than arrays. I need to display the data in an *ngFor.
I have read excellent threads on this such as this one which seem to favour using a pipe. I have also read that pipes are pure by default and only get called if there is a change to a primitive or reference, but for performance that still concerns me.
Which would be more performant? Using an angular pipe, or converting the data into an array at the rxjs stream level before even sending the data to the template?