-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: defer setAtom in subscribers of store change during main render …
…to next micro task (#109) * fix: make subscribers of store changes async * fix: wrap only the setAtom action with promise * fix: remove defer in useInternalAtomValue * fix: remove defer in useInternalAtomValue * fix: fix typo * refactor: avoid ternary operators and rename variables
- Loading branch information
Showing
2 changed files
with
37 additions
and
6 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