-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep classes ref when sheet and dynamicRules have not any change (#1573)
* fix(react-jss): keep classes ref when sheet and dynamicRules have not change * test(createUseStyles): fix typo * fix(createUseStyles): move memoize getSheetClasses to createUseStyles * test(createUseStyles): remove redundant component * fix(createUseStyles): memoize classes by useMemo
- Loading branch information
1 parent
9fba2bf
commit fc379ea
Showing
3 changed files
with
39 additions
and
13 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