How to only call serverLoader()
from client if it has already run
#14121
Unanswered
davidbielik
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
the
clientLoader
is able to get existing serverData for the current route/url if it exists.But if it doesn't exist, it makes a call to the
/{route}.data
endpoint.How can I make the client loader only check for the existence of this server data so that I avoid a server-side framework request?
Beta Was this translation helpful? Give feedback.
All reactions