react-select-async-paginate
react-select-async-paginate copied to clipboard
automatic close when use Apollo FetchMore
FAQ
- How can I clean all cached options?
- Check
cacheUniq
param in versions <0.4.x
andcacheUniqs
in0.4.x
Are you submitting a bug report or a feature request or a question?
bug and question
What is the current behavior?
how to work together with apollo fetch more update options in useQuery chache and fill in options. but I found bug when fetchMore is complete update chache into Apollo cache in first render.
user click opening option in first time -> apollo use fetchMore to update apollo chahe -> option will close
when I clicked again. data will be correct render.
What is the expected behavior?
use fine with apollo fetchMore and rerender correctly
What's your environment?
"react-select": "^4.3.0", "react-select-async-paginate": "^0.5.3", "@apollo/client": "^3.3.13", "next": "10.1.2", "react": "17.0.2",
Other information
Hi. Make please example on codesandbox.