Strange conflict with relay query #2393
Unanswered
leomisha
asked this question in
Bug report
Replies: 1 comment 4 replies
-
|
Interesting. Which version of Zustand is it? How is |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a strange use case in a component where I have a relay
useLazyLoadQuerywith options dependant on zustand state.The component doesn't rerender when I get zustand value using selector function (the same memory link), but it works if I use inline selector.
This doesn't rerender:
But this works fine:
What might be wrong?
Beta Was this translation helpful? Give feedback.
All reactions