-
-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: setAtom uses stale pending on atom unmount (#2811)
* fix: setAtom should use the correct pending on unmount * ideating with overwritable setAtom pattern * encapsulate isSync inside setAtom * refactor * refactor 2 * refactor to use createRuntime * refactor 3 * how about this? --------- Co-authored-by: daishi <daishi@axlight.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
21 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