Replies: 2 comments 1 reply
-
Because combine creates a new object on every render, it causes re-renders. |
Beta Was this translation helpful? Give feedback.
-
this example subscribes to What you can’t expect is the fact that you only “use”
That’s not right, we use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With
useQuery
the defaultnotifyOnChangeProps
param does a great job of minimizing renders.But this doesn't work as well with
useQueries
I'd like to have a generic combine function that has combined versions of all the flags from
useQuery
but I'm concerned about excessive rendering with flags likeisFetching
. Is there a way to get the render optimizations fromuseQuery
working withuseQueries
?Beta Was this translation helpful? Give feedback.
All reactions