Refactor data revalidation #200
Labels
priority: high
it needs to be prioritized over issue which does not have any priority labels
type: enhancement
New feature or request
Due to a recent react-router-specific upgrade #171 , some nested components down the routes can't perform automatic data revalidation.
useRevalidator
hook in case of an HTTP request. Ideally, data should be revalidated automatically making use of the router's action APIs. Consider accomplishing this.VotingPeriod
component data mutation (e.g.castVote()
) is being triggered outside the app. Data fetching is happening in Router's loader on the corresponding route during the page load only.In such a case, we may need to perform the data revalidation for a route manually
The text was updated successfully, but these errors were encountered: