Replies: 1 comment 5 replies
-
it would probably be better to just run that side-effect inside the QueryFunction itself. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I need to do some side effect based on results of queries and mutations, what is more optimal and performant, to pass entire objects in useEffect or select properties in render itself?
Which one is better alternative, 1 or 2?
Alternative 1:
Alternative 2:
Beta Was this translation helpful? Give feedback.
All reactions