The ngSkipHydration
is a special attribute that indicates to Angular that a particular component should be opted-out of hydration. This diagnostic ensures that this attribute ngSkipHydration
is set statically and the value is either set to "true"
or an empty value.
When using the ngSkipHydration
, ensure that it's set as a static attribute (i.e. you do not use the Angular template binding syntax).
<my-cmp ngSkipHydration /> <!-- or --> <my-cmp ngSkipHydration="true" />
See extended diagnostic configuration for more info.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/extended-diagnostics/NG8108