question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integration with Apollo

See original GitHub issue

Hi!,

I am working integrating react-select with redux-form and apollo-client, so far the integration with redux-form is seamless, but my use case here being that when the user types something in the input, I will be grabbing data dynamically performing graphql calls through apollo. This leads me to two options.

  • Make use of onInputChange and trigger a new query, and pass the new options as props. However when I do this, the current input value gets reseted

  • Use Select.Async and the loadOptions props. However, how Apollo client works is that I trigger a new query and then I receive the new data when it’s available via props, so there seems to be no easy solution to call the callback back with the new data, as I don’t have access to the request itself, right?.

Any ideas how / if this could be accomplished?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
Natansabcommented, Mar 4, 2019

Hey @alfonsoperez, how did you solve the Select.Async part with Apollo? Thanks

1reaction
davidaleknacommented, Jan 24, 2018

Thanks a lot @alfonsoperez! I also use it with redux form so very useful to me 😃 was battling all day to find a solution and there you go, thanks!! 😃 🥇

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integrations - Apollo.io
Apollo integrates seamlessly and enhances your existing stack ... Optimize your current workflows through integrations with LinkedIn, Gmail, Salesforce, HubSpot, ...
Read more >
View integrations - Apollo GraphQL Docs
apollo-elements includes support for lit-element , gluon , hybrids , and polymer , as well as providing class mixin functions so you can...
Read more >
Apollo Integrations: 1,886 Ready-To-Activate ️ Integrations
Integrating your Apollo with your AutomatorWP, can help you automatically create new opportunitys based on datas recieved. This saves you time and ensures...
Read more >
Apollo Integrations | Connect Your Apps with Zapier
Apollo is a unified engagement platform that is the foundation for your entire end-to-end sales strategy. Teams get access to a database of...
Read more >
Apollo Email Integration - Vidyard Video Integrations
Record & share videos in Apollo.io to engage with contacts at scale. Improve communication & drive more revenue with Vidyard's Apollo integration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found