Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has anyone faced a concurrency problem with the same http call? #49

Open
Jase7 opened this issue Feb 24, 2023 · 0 comments
Open

Has anyone faced a concurrency problem with the same http call? #49

Jase7 opened this issue Feb 24, 2023 · 0 comments

Comments

@Jase7
Copy link

Jase7 commented Feb 24, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant