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

[Enhancement] Avoiding same request multiple times through state management #556

Closed
sumitra19jha opened this issue Mar 29, 2021 · 1 comment
Assignees

Comments

@sumitra19jha
Copy link
Contributor

Issue Description:

Avoiding same request multiple times. Some requests like fetching user information are done multiple times which increase the number of requests made to the server and also reduce user experience by introducing waiting time.

Issue Severity

Medium

Observed Behaviour:

Multiple request made to fetch same data. For example: User details are fetch in:

  1. Profile Page
  2. Switch Organisation Page
  3. News Article Page
  4. API.dart Services

Expected Behaviour:

The request should be made only once and the same data shall be used everywhere.

Steps to reproduce issue:

Visit the code of following page:

  1. Profile Page
  2. Switch Organisation Page
  3. News Article Page
  4. API.dart Services

You will notice fetchUserDetails function execution

Does this issue need immediate attention?

No

Are you willing to work on this issue:

Yes

@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Mar 29, 2021
@Sagar2366 Sagar2366 added enhancement and removed unapproved Unapproved, needs to be triaged labels Apr 4, 2021
@sumitra19jha
Copy link
Contributor Author

This is handled in business logic and Ui separation.

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

2 participants