This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
-
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.
DataStore Component mounts automatically.
1. DataStore components now mount automatically, using the state of their dataStore. 2. Update DataStore Component test for new mounting functionality. 3. Update DataStore test to check for automatic mounting. 4. Update merge to accept multiple objects. If a single object is passed int, it clones it. Merge now does a deep clone of objects. 5. Added a new utility function: getType. This returns the type of primitive and object types as a capitalized value: Null, Undefined, String, Number, NaN, Function, Array, Object, RegExp, Symbol, etc. 6. Renamed isSameVNode to areEqual for more generic use for value comparison. 7. Updated Component class to use getType and isSameObject. 8. Added unwatch to Observer class. Pass in the event to unwatch. This cancels all watchers for that event. 9. Updated observer test for unwatch.
Showing
13 changed files
with
79 additions
and
5,866 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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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.