-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add splice strategies for array observation (#5999)
* feat: extract splice merging to a strategy * feat: enable splice strategy to control splice creation per array method * feat: add reset splice strategy * refactor: made array length observation part of the standard interface * feat: add SpliceStrategySupport and fix enum/literals * refactor: re-organize array observation code * chore: add splice-strategies to the package and clean up exports * Change files * chore: remove invalid eslint comments * test: add array observer tests for all array mutations * fix: adding extensions back to exports Co-authored-by: EisenbergEffect <[email protected]>
- Loading branch information
1 parent
85ef60c
commit fc4dbc4
Showing
14 changed files
with
1,292 additions
and
510 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@microsoft-fast-element-19034156-dca2-4efc-8995-4003df6c2107.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "major", | ||
"comment": "feat: add splice strategies for array observation", | ||
"packageName": "@microsoft/fast-element", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@microsoft-fast-foundation-0f273d05-e607-443b-ae31-aa5ab842432a.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "major", | ||
"comment": "chore: update imports to match latest fast-element exports", | ||
"packageName": "@microsoft/fast-foundation", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
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
148 changes: 0 additions & 148 deletions
148
packages/web-components/fast-element/src/observation/array-observer.spec.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.