atlassian-labs / react-resource-router

Configuration driven routing solution for React SPAs that manages route matching, data fetching and progressive rendering
https://atlassian-labs.github.io/react-resource-router
Apache License 2.0
202 stars 28 forks source link

Stale while invalidate #220

Open theKashey opened 11 months ago

theKashey commented 11 months ago

Inside RRR there are two logics that are fighting with each other a little bit:


Questions


Proposal - add explicit stateWhileInvalidate flag for resource and exempt them from cleanExpiredResources giving control to the end user.