Skip to content

Instantly share code, notes, and snippets.

@ghacosta
Created July 3, 2020 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghacosta/8f4553ca4297d0c3cd73770f7fdc351b to your computer and use it in GitHub Desktop.
Save ghacosta/8f4553ca4297d0c3cd73770f7fdc351b to your computer and use it in GitHub Desktop.
react-select + apollo + async + debounce helpful links
https://react-select.com/async - official docs
https://github.com/apollographql/apollo-client/issues/5268 - working with apollo
https://codesandbox.io/s/react-select-with-uselazequery-5bkpt?file=/src/index.js - select + useLazyQuery example
https://codesandbox.io/s/98vxxr18zw?file=/example.js - async debouce example
https://stackoverflow.com/questions/52695414/react-select-with-react-apollo-does-not-work - async + apollo client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment