-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generate a memoized function for computing a style's name * Use the newly-generated naming fn; improve manual :key support * Clean up * Prepare to only conditionally compile CSS, update DOM * Respect global :always-compile-css? * Add support for :always-compile-css per-function escape hatch * Clean up some TODOs * Change StyleContainer to support skipping compile when mounted Now for the common case of applying a style that's already in the DOM, all we have to do is compute its name (which is memoized on the params!) and lookup the info to handle any composed styles. We don't run the style factory fn and we certainly don't compile any CSS! * Invoke style-factory directly, without `apply` * Update core-test to remove unnecessary apply params * Fix: find-key-meta not working consistently * Rename vars for consistency
- Loading branch information
Showing
9 changed files
with
188 additions
and
94 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
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
Oops, something went wrong.