-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IndexTable]: optimizes and add more stuff to
- Loading branch information
Showing
3 changed files
with
234 additions
and
127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@shopify/polaris': minor | ||
--- | ||
|
||
- adds dirty and unselected states to `use-index-resource-state` | ||
- adds stronger types to `use-index-resource-state` | ||
- Keeps the same array interface of the API but uses `Set` under the hood for performance optimization. | ||
- Set was used since it offers O(1) direct access to its values. In some cases we removed O(N) traversal times since we cared about access lookup. |
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.