Transforming result data, may lead to performance issues? #2763
Unanswered
jdolinski1
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
-
Hello, in our codebase we are wrapping
useSWR
hook and it's result with our custom function that offers optional transformation via function in parameters.I was thinking whether the code above might break or cause any performance issues?
E.g. performance optimizations mentioned here: https://swr.vercel.app/docs/advanced/performance#dependency-collection
Thanks,
Jiri
Beta Was this translation helpful? Give feedback.
All reactions