-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix[angular-gen2]: add angular 19 ssr e2e and fix hydration errors #3806
fix[angular-gen2]: add angular 19 ssr e2e and fix hydration errors #3806
Conversation
🦋 Changeset detectedLatest commit: 666cc89 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
View your CI Pipeline Execution ↗ for commit 666cc89.
☁️ Nx Cloud last updated this comment at |
@samijaber can you please take a look |
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.
🙏🏽
/** | ||
* Angular doesn't support hydration for components created dynamically. | ||
* Refer: https://angular.dev/errors/NG0503 | ||
* GitHub issue: https://github.com/angular/angular/issues/51798 |
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.
Does this issue resolve content duplication as well like https://builder-io.atlassian.net/browse/ENG-8042 ?
Description
Fixes the hydration error thrown from angular for using ngComponentOutlet, adds angular-19-ssr to e2e and an example of how users can override fetch to use HTTP client from angular that should help in caching HTTP requests
Jira
https://builder-io.atlassian.net/browse/ENG-7946
https://builder-io.atlassian.net/browse/ENG-7945
https://builder-io.atlassian.net/browse/ENG-7665
Screenshot
If relevant, add a screenshot or two of the changes you made.