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

When used as folder contents, withQuerystringResults triggers an unneeded network call #3474

Open
tiberiuichim opened this issue Jul 13, 2022 · 1 comment

Comments

@tiberiuichim
Copy link
Contributor

dispatch(getContent(initialPath, null, null, currentPage));

Unless the page is different then 0, there's no need to trigger a network fetch, the children are already in the content.

@tiberiuichim
Copy link
Contributor Author

Assuming that initialPath is the same as that of the content.

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

No branches or pull requests

2 participants