Skip to content
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

Double rendering with provideClientHydratation Angular 16 #172

Closed
QuarkAgency opened this issue Jul 20, 2023 · 4 comments
Closed

Double rendering with provideClientHydratation Angular 16 #172

QuarkAgency opened this issue Jul 20, 2023 · 4 comments
Labels
bug Something isn't working no-issue-activity wontfix This will not be worked on

Comments

@QuarkAgency
Copy link

🐞 Bug report

Description

Using Angular v16 with SSR and new feature provideClientHydratation enabled, the breadcrumb is duplicated for a few seconds. Just the time for the client code to be loaded.

issue_breadcrumb

🔬 Minimal Reproduction

Angular v16
SSR enabled
provideClientHydratation enabled
Latest xng-breadcrumb version

@QuarkAgency QuarkAgency added the bug Something isn't working label Jul 20, 2023
@github-actions
Copy link

Hello 👋 @QuarkAgency
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue. Check the local development guide

@QuarkAgency
Copy link
Author

For instance it is possible to skip the hydratation :

@component({
selector: 'app-breadcrumb',
templateUrl: './breadcrumb.component.html',
styleUrls: ['./breadcrumb.component.css'],
host: { ngSkipHydration: 'true' },
})

I used that it works fine

Copy link

stale bot commented Mar 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Mar 13, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant