-
-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] selectAtom does not resolve promises internally (#2435)
* test: selectAtom should not return async value when the base atom curr and prev values are synchronous * selectAtom replaces promise with fulfilled value when promise resolves * replace refAtom with weakMap implementation * partition state by store * BREAKING: selectAtom does not internally resolve promises --------- Co-authored-by: David Maskasky <dmaskasky@otter.ai> Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
- Loading branch information
1 parent
ee631fa
commit 8847084
Showing
3 changed files
with
9 additions
and
124 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
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