forked from JedWatson/react-select
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(async): create new cache object for each instance by default
fix JedWatson#1236 Previously, the same object was being used by for async cache by default when no cache was passed to the component. This same object was used for every instance. Now, an object is used to determine if the default is being used and will create a new object for each instance in which no prop was passed.
- Loading branch information
1 parent
e8ff62d
commit 6cd04c8
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters