How to use useQuery in realm-react with react-navigation/native #6490
Unanswered
HuuNguyen312
asked this question in
Q&A
Replies: 2 comments 3 replies
-
The If thats not your experience, can you perhaps share a bit more code or information on potential issues you're experiencing? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Something like the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Code example
I'm using useQuery in realm-react to listen for changes to a collection. I want to combine it with @react-navigation/native, so that when the screen loses focus, it will cancel listening for useQuery changes, and when it gets focus, it will listen again.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions