Replies: 2 comments 3 replies
-
looking at their promises example, I think one way to do it is to provide queryClient.fetchQuery, which returns the promise. With a given but given that react-select async has its own cache via cacheOptions, maybe there is no need to combine the two? |
Beta Was this translation helpful? Give feedback.
-
I had a problem with making this work. All seemed fine when I wanted to use reactQuery and React Select (not async select) but then my options were not updating accordingly and I had no idea why. This repo example helped me fix the problem after I added |
Beta Was this translation helpful? Give feedback.
-
Please, suggest how to use both libraries in the AsyncSelect component.
Beta Was this translation helpful? Give feedback.
All reactions