My SWR is causing UI to blink in every 2 seconds on focus or while changing route. What is the problem here? How do I prevent UI blinks? #2256
Answered
by
koba04
sushanyadav
asked this question in
Q&A
-
Using the hook:
|
Beta Was this translation helpful? Give feedback.
Answered by
koba04
Nov 30, 2022
Replies: 1 comment 1 reply
-
@sushanyadav |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sushanyadav
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sushanyadav
You can disable the behavior by configuring the options of
useSWR
or using theuseSWRImmutable
hook instead.https://swr.vercel.app/docs/revalidation