We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Inside RRR there are two logics that are fighting with each other a little bit:
react-resource-router/src/resources/controllers/resource-store/index.tsx
Line 161 in b0e55fa
Line 227 in b0e55fa
Line 444 in b0e55fa
Questions
there is a comment that we "need" to clean resourced during transition https://github.com/atlassian-labs/react-resource-router/blob/b0e55faeafdc6f193e5fda338e5533e6f88725cf/src/resources/controllers/resource-store/index.tsx#L427C1-L431C25
there is a logic that can reuse previous response while the new one is loading
refresh
if one removes cleanExpiredResources
cleanExpiredResources
Proposal - add explicit stateWhileInvalidate flag for resource and exempt them from cleanExpiredResources giving control to the end user.
stateWhileInvalidate
resource
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Inside RRR there are two logics that are fighting with each other a little bit:
react-resource-router/src/resources/controllers/resource-store/index.tsx
Line 161 in b0e55fa
react-resource-router/src/resources/controllers/resource-store/index.tsx
Line 227 in b0e55fa
react-resource-router/src/resources/controllers/resource-store/index.tsx
Line 444 in b0e55fa
Questions
there is a comment that we "need" to clean resourced during transition
https://github.com/atlassian-labs/react-resource-router/blob/b0e55faeafdc6f193e5fda338e5533e6f88725cf/src/resources/controllers/resource-store/index.tsx#L427C1-L431C25
there is a logic that can reuse previous response while the new one is loading
refresh
works. More likely intentional.if one removes
cleanExpiredResources
Proposal - add explicit
stateWhileInvalidate
flag forresource
and exempt them fromcleanExpiredResources
giving control to the end user.The text was updated successfully, but these errors were encountered: