-
Notifications
You must be signed in to change notification settings - Fork 27k
Remove server styles host #49424
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
Remove server styles host #49424
Conversation
9cb80f3 to
a0ffe10
Compare
b6e33da to
2f7319a
Compare
AndrewKushnir
left a comment
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.
@alan-agius4 thanks for the refactoring! 👍 The changes look great!
4828ced to
989f3bd
Compare
With the recent changes and refactors of `dom_renderer` having a separate `ServerStylesHost` is redundant.
…StylesHost` The mentioned 2 classes have been combined since it is no longer required to have a separate `SharedStylesHost` for SSR. This changes also reduces the memory usage footprint as remove 1 Map that stores the CSS strings.
…`SharedStylesHost`
…`SharedStylesHost`
a0bf7ce to
ae70a38
Compare
|
|
…p-id` `ng-app` is an AngularJS attribute, see https://docs.angularjs.org/api/ng/directive/ngApp. Using this attribute on a non AngularJS element can cause DI issues in AngularJS when running an AngularJS and Angular application on the same page. As such, we avoid such problems the Angular `ng-app` attribute is renamed to `ng-app-id`.
ae70a38 to
9e04222
Compare
AndrewKushnir
left a comment
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.
👍
|
This PR was merged into the repository by commit 9636910. |
…p-id` (#49424) `ng-app` is an AngularJS attribute, see https://docs.angularjs.org/api/ng/directive/ngApp. Using this attribute on a non AngularJS element can cause DI issues in AngularJS when running an AngularJS and Angular application on the same page. As such, we avoid such problems the Angular `ng-app` attribute is renamed to `ng-app-id`. PR Close #49424
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
refactor(platform-browser): combine
DomSharedStylesHostandSharedStylesHostThe mentioned 2 classes have been combined since it is no longer required to have a separate
SharedStylesHostfor SSR. This changes also reduces the memory usage footprint as remove 1 Map that stores the CSS strings.refactor(platform-server): remove
ServerStylesHostWith the recent changes and refactors of
dom_rendererhaving a separateServerStylesHostis redundant.refactor(platform-browser): rename
ng-appstyle attribute tong-app-idng-appis an AngularJS attribute, see https://docs.angularjs.org/api/ng/directive/ngApp. Using this attribute on a non AngularJS element can cause DI issues in AngularJS when running an AngularJS and Angular application on the same page.As such, we avoid such problems the Angular
ng-appattribute is renamed tong-app-id.