-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
priority: highit needs to be prioritized over issue which does not have any priority labelsit needs to be prioritized over issue which does not have any priority labelstype: enhancementNew feature or requestNew feature or request
Description
Due to a recent react-router-specific upgrade #171 , some nested components down the routes can't perform automatic data revalidation.
- In some components, we do it manually using the
useRevalidatorhook in case of an HTTP request. Ideally, data should be revalidated automatically making use of the router's action APIs. Consider accomplishing this. - Some components may not explicitly handle data revalidation in response to user interaction. For example, in the
VotingPeriodcomponent 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.
- Article (route)
|__ArbitrationDetails
|__VotingPeriod
In such a case, we may need to perform the data revalidation for a route manually
Metadata
Metadata
Assignees
Labels
priority: highit needs to be prioritized over issue which does not have any priority labelsit needs to be prioritized over issue which does not have any priority labelstype: enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status