-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solve memoize problems in withColors. (#6736)
The current implementation contains a memory leak (direct usage of [] in get). Besides that, we were keeping references to old setAttributes of a component even when the component was removed. Lodash memoize has also replaced with memize.
- Loading branch information
1 parent
f071482
commit be88c3c
Showing
1 changed file
with
64 additions
and
41 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