Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async cache is empty #2331

Closed
drakoniprincessa opened this issue Jan 26, 2018 · 4 comments
Closed

Async cache is empty #2331

drakoniprincessa opened this issue Jan 26, 2018 · 4 comments

Comments

@drakoniprincessa
Copy link

drakoniprincessa commented Jan 26, 2018

It was a problem to create the same environment in plunker. So in plunker example it works fine.
https://plnkr.co/edit/kGXvEPJHzrSRlzKdTO1e?p=preview

In my project (react 16.2.0 react-select 1.2.1)
Async component returns nothing for cached options (after first loadOptions). With option cache={false} it works fine. But it is still a bug.

@sancau
Copy link

sancau commented Mar 15, 2018

The exact same thing for me. Also used cache={false} as a workaround but it feels wrong.
react: 15.6.1
react-select: 1.2.1

@frankie-ug
Copy link

Has anyone been able to fix this? Getting the same error
react: 16.2.0
react-select: 1.2.1

@jossmac jossmac added the v1 label Jul 6, 2018
@geraintdong
Copy link

I have just the same error
react: 16.7
react-select: 1.3

@flexdinesh
Copy link
Collaborator

Hey @drakoniprincessa v1 of react-select is no longer maintained.

We recommend maintaining your own v1 fork if you want to address v1 issues. We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our limited efforts to maintain the latest versions.

We highly recommend upgrading from v1 to v2. Chances are this issue might already be fixed or non-existent in v2.

I'm closing this issue/PR now. Feel free add your thoughts in #3981 and reference this issue/PR if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants