Skip to content
Discussion options

You must be logged in to vote

A route is a single unit so it's not possible to only revalidate part of a route loader, but you can split a route on two routes with different loaders essentially creating two units that can run independently of each other.

In your case you could have route for the chart and another for the list, then you can use shouldRevalidate on the list route to avoid it, nest one inside the other and you will have a single UI built using two routes.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@RabeeAbuBaker
Comment options

@sergiodxa
Comment options

@RabeeAbuBaker
Comment options

@sergiodxa
Comment options

@RabeeAbuBaker
Comment options

Answer selected by RabeeAbuBaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants