How to preload data route mask #4655
Replies: 2 comments 1 reply
-
can you please provide a complete example project based on one of our examples? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your patience! Here's the repro: 🔍 Repro SummaryI’ve created two sets of cards: green and red. 🟢 Green cards use standard links: <Link
to="/$id"
params={{ id: (i + CARD_SIZE).toString() }}
key={i}
className="flex items-center justify-center h-24 bg-green-200"
>
<img src={logo} className="h-12" alt="logo" />
</Link> 🔴 Red cards use masked links: <Link
from="/"
search={{ id: i.toString() }}
mask={{
to: "/$id",
params: { id: i.toString() },
unmaskOnReload: true,
}}
key={i}
className="flex items-center justify-center h-24 bg-red-200"
>
<img src={logo} className="h-12" alt="logo" />
</Link>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to preload the data in my loader of
events/$id
on hover(intent, but it doesn't seem to work.Beta Was this translation helpful? Give feedback.
All reactions