ng-mat-select-infinite-scroll
ng-mat-select-infinite-scroll copied to clipboard
Has anyone faced a concurrency problem with the same http call?
Hi, there! I'll try to explain better the issue.
I have a formArray in Angular. In each iteration of this array I render an 'infinite-scroll component' with the same api call, let's say it's for load a customers dropdown/mat-select. What happens if I have more than one element in the form array? Each infinite-scroll will make the same http call fetching the same data, has anyone faced this issue before? Is there a solution for 'share' the result between infinite-scroll components?