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

Inefficient way of handling data from API #3

Open
arnavxjain opened this issue Jan 4, 2023 · 1 comment
Open

Inefficient way of handling data from API #3

arnavxjain opened this issue Jan 4, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@arnavxjain
Copy link
Owner

Every time I navigate to a page after it has already been visited, the page sends out another API call and re renders the data even if the new content on the screen is the same as before, increasing load time, there should be a way to store the data somehow as long as the API parameters remain the same... When the parameters are altered, the page should be re rendered and the data should be recollected...

@arnavxjain arnavxjain added enhancement New feature or request question Further information is requested labels Jan 4, 2023
@arnavxjain
Copy link
Owner Author

Managed to make some changes that could be a possible fix. Simply saved and checked for incoming parameters to see if they have been changed...

Not good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant