-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Avoid extracting classes twice #25973
[docs] Avoid extracting classes twice #25973
Conversation
@eps1lon Should I update this PR to only salvage the fix on |
@eps1lon Updated. My aim is to get the .json generated so that once we migrate to emotion, we can notice regressions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to merge code that'll be removed in a couple of days, be my guest.
@eps1lon What do you mean, will we kill the .json file for the docs? :) |
updateStylesDefinition()
is always called twice but once is enough. I have noticed this inefficiency when diving into #25928 (comment). I didn't benchmark the performance win.I have used this as an opportunity to isolate what's for legacy components (JSS), so we can more easily remove the code later on.Fix
DateRangePickerDay
classes extraction.