Is there a way to programmatically trigger a prefetch? #5366
gitChristian
started this conversation in
General
Replies: 1 comment
-
https://remix.run/docs/en/1.13.0/components/prefetch-page-links |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a grid of cards like in the photo with
prefetch="intent"
on each card.Problem is, if a user clicks the heart icon to like the card, and then clicks on the card to view the prefetched link (a dashboard), then the 'like' is not registered because the link was prefetched on hover and the 'like' action is not reflected. Basically the prefetch is stale.
Any patterns to get around this? 🙏
Beta Was this translation helpful? Give feedback.
All reactions