Skip to content

DBNavigationItem hydration mismatch when used with SSR #2395

@andre-bartak

Description

@andre-bartak

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

Nuxt 3
@db-ui/v-components@0.0.68

The SSR generated DOM for the DBNavigationItem differs to the client generation.

Background: apparently due to the use of internal functions that provide random generated ids for the sub-navigation in the DBNavigationItem component the output of SSR and Client can't be the same

Expected Behaviour

Serverside and Clientside should render the same DOM. Otherwise this could lead to bugs or performance issues.

Screenshots

hydration_mismatch

Browser version

None

Add any other context about the problem here.

No response

Metadata

Metadata

Assignees

Labels

❓questionFurther information is requested👾SSRIssues for Server-Side-Rendering🧭navigationAll issues related to Header and Navigation

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions