Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit refactors the internals to make it easier to know when all records belonging to a ManyArray have finished loading. Now, the store keeps a map of all clientIds that are being loaded and are members of a ManyArray. Also, the ManyArray state manager has a new initial `loading` state that it exits when all of its clientIds are loaded into the store.
- Loading branch information
Tomhuda Katzdale
committed
Jun 19, 2012
1 parent
37d3319
commit f707b6c
Showing
7 changed files
with
251 additions
and
79 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
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
Oops, something went wrong.