Skip to content

bug(mat-table): Mat Table has skip hydration attribute #28355

Closed
@tsenguunchik

Description

@tsenguunchik

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I've noticed a lot of material components have ngSkipHydration attribute present such as mat-table.

The sidenav component fixed this issue recently in #28340 and I'm very grateful. Hoping to see all the rest of the components have this fix.

Reproduction

Steps to reproduce:

  1. ng new example --ssr
  2. add mat-table

Expected Behavior

Hydration working as expected when using mat-table

Actual Behavior

I still see double flicker rendering which means the hydration is not properly working

Environment

  • Angular: 17.0.8
  • CDK/Material: 17.0.4
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: cdk/table

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions