Replies: 1 comment
-
See this guide on different options for refreshing queries. However, forcing a re-query on each mounting seems like a potentially concerning pattern.. There may be a better way to accomplish your requirements. |
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
-
I've already racked my brains, how do I get the selector not to cache a value? Maybe I'm using something wrong, but I need to implement request to server by params:id which I get from address bar, but after first go recoil caches value, and I can't use any method to update it, only make recoil do update, but, because of it 2 requests are sent to server instead of 1st one...
I am already confused what to do, I will be grateful for help
code example:
UP
I resolve my question by this way:
Maybe someone has a better idea?
Beta Was this translation helpful? Give feedback.
All reactions