revert single style sheet serialization due to performance regression#9631
Merged
revert single style sheet serialization due to performance regression#9631
Conversation
|
1724540 to
53f36f7
Compare
53f36f7 to
9adea42
Compare
| } | ||
| if (tagName === "style" && n2.sheet) { | ||
| let cssText = stringifyStylesheet( | ||
| if (tagName === "style" && n2.sheet && // TODO: Currently we only try to get dynamic stylesheet when it is an empty style element |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality
Releases: highlight.run@9.7.1 @highlight-run/next@7.6.10 @highlight-run/react@8.0.1 @highlight-run/remix@2.0.73
5bce838 to
87227ff
Compare
This reverts commit 87227ff.
ccschmitz
approved these changes
Nov 20, 2024
giraffekey
pushed a commit
to giraffekey/highlight
that referenced
this pull request
Nov 21, 2024
…highlight#9631) ## Summary Revert rrweb-io/rrweb#1437 from rrweb to avoid performance regression with single style serialization. ## How did you test this change? https://www.loom.com/share/674060730e1647819b9fbfd0c05972af ## Are there any deployment considerations? changeset ## Does this work require review from our design team? no
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Revert rrweb-io/rrweb#1437 from rrweb to avoid performance regression with single style serialization.
How did you test this change?
https://www.loom.com/share/674060730e1647819b9fbfd0c05972af
Are there any deployment considerations?
changeset
Does this work require review from our design team?
no