Replies: 2 comments 2 replies
-
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
useQuerythe defaultnotifyOnChangePropsparam does a great job of minimizing renders.But this doesn't work as well with
useQueriesI'd like to have a generic combine function that has combined versions of all the flags from
useQuerybut I'm concerned about excessive rendering with flags likeisFetching. Is there a way to get the render optimizations fromuseQueryworking withuseQueries?Beta Was this translation helpful? Give feedback.
All reactions