Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tree): same dataset length but w/different prop should refresh Tree
- the issue was found in our LIG project in the use case that the dataset being replaced by the dataset SETTER, it wasn't refreshing the entire Tree Data in the grid and because of that the UX seemed broken, so the fix is to use `dequal` to compare the dataset with all its properties (not just its length) and if anything changed then we call (force) a full Tree Data refresh
- Loading branch information
1 parent
7edc3bf
commit 549008a
Showing
2 changed files
with
25 additions
and
6 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