forked from pmndrs/jotai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add back dev4_restore_atoms to store v2 (pmndrs#2509)
* feat: add back dev4_restore_atoms to store v2 * refactor: remove internal types for store1 * fix: add primitive atom check when restoring Co-authored-by: Daishi Kato <[email protected]> * refactor: adjust to new changes * test: add failing test for store.sub not being called afer restore * test: simplify failing test * fix: add atoms to pending during restore * Update src/vanilla/store2.ts --------- Co-authored-by: Daishi Kato <[email protected]>
- Loading branch information
1 parent
c9b504f
commit a685dfc
Showing
3 changed files
with
54 additions
and
3 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