-
Notifications
You must be signed in to change notification settings - Fork 424
fix(engine-dom): remove stylesheets when unused #2797
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
Closed
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
0e3058a
fix(engine-dom): remove stylesheets when unused
nolanlawson d276c7e
fix: remove unnecessary change
nolanlawson 944a55d
test: add more tests
nolanlawson d6bcd59
test: add hydration test, fix unrendering styles
nolanlawson 88f7edd
test: more tests
nolanlawson 49953e7
test: re-enable tests
nolanlawson 7f9afd9
refactor: refactor
nolanlawson 8b5feab
refactor: refactor
nolanlawson 14b97f8
test: fix test in ie11
nolanlawson d2561cc
test: fix ie11 again
nolanlawson a442aa5
fix: headers
nolanlawson 6bbd4af
Revert "test: fix ie11 again"
nolanlawson 435b290
test: actually fix ie11, rename api to avoid ambiguity
nolanlawson b5fa193
fix: add comment
nolanlawson 4a012c1
refactor: refactor part one
nolanlawson 29424ff
refactor: refactor part 2
nolanlawson 53f68e9
refactor: refactor part 3
nolanlawson d69c65c
refactor: refactor part 4
nolanlawson 79ecf74
fix: fix comment
nolanlawson 6e1e70b
fix: fix comment
nolanlawson 8d918b3
fix: work around ie11 bug
nolanlawson dab7e56
refactor: refactor
nolanlawson 5a5e97b
fix: fix for race condition
nolanlawson f6479ea
fix: another undefined case
nolanlawson 9c6d33e
fix: remove redundant typescript types
nolanlawson 202be37
fix: add feature flag to disable style removal
nolanlawson 0ee12bf
fix: switch to Maps instead of objects
nolanlawson c5abb57
test: fix test
nolanlawson 44a6132
test: fix test
nolanlawson 0bfb8b6
fix: remove flag for now
nolanlawson 4882534
test: remove <head> cleanup from tests
nolanlawson 1a026c3
Revert "fix: remove flag for now"
nolanlawson 25f005f
fix: try to fix hydration and style removal
nolanlawson e78ad66
Revert "Revert "fix: remove flag for now""
nolanlawson 52a5309
fix: remove unnecessary test util
nolanlawson eb677d4
refactor: make code DRYer
nolanlawson f6ad82f
refactor: refactor test
nolanlawson 88bbb3c
refactor: refactor test
nolanlawson dbb1870
chore: empty commit to poke CI
nolanlawson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
It turns out that what we care about is if the vm was hydrated in the first place, not whether it's currently hydrating.