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
Several elements fixes and improvements #43975
Conversation
context.logger.info('Added "document-register-element" to polyfills.'); | ||
}; | ||
} | ||
export default noop; |
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 it make sense to have this schematic at least output that its a noop and no longer necessary to run?
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.
That’s a good idea.
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.
Thinking about it, maybe it's better to just drop the schematic and update the doc to use npm install @angular/elements --save
Thx, @alan-agius4
Commit message typos:
the browsers that Angular supports supports
-->the browsers that Angular supports support
(in a couple of commits)@@ungap/custom-element
-->@ungap/custom-elements
All the [browsers](https://angular.io/guide/browser-support) that Angular supports `CustomElementRegistry` APIs
This section was outdated since now all CLI projects are es2015+ and don't require the polyfill since legacy browsers are no longer supported.
This schematic is no longer needed since all the [browsers](https://angular.io/guide/browser-support) that Angular supports `CustomElementRegistry` APIs. Side note: `document-register-element` has been deprecated in favor of `@ungap/custom-element`
…ndency The elements package doesn't use `@angular/platform-browser` therefore this is not needed.
This test has been removed as since the elements schematic has been removed in a previous commit.
This PR was merged into the repository by commit 6247efa. |
All the [browsers](https://angular.io/guide/browser-support) that Angular supports `CustomElementRegistry` APIs PR Close #43975
This section was outdated since now all CLI projects are es2015+ and don't require the polyfill since legacy browsers are no longer supported. PR Close #43975
This schematic is no longer needed since all the [browsers](https://angular.io/guide/browser-support) that Angular supports `CustomElementRegistry` APIs. Side note: `document-register-element` has been deprecated in favor of `@ungap/custom-element` PR Close #43975
This test has been removed as since the elements schematic has been removed in a previous commit. PR Close #43975
This section was outdated since now all CLI projects are es2015+ and don't require the polyfill since legacy browsers are no longer supported. PR Close #43975
This schematic is no longer needed since all the [browsers](https://angular.io/guide/browser-support) that Angular supports `CustomElementRegistry` APIs. Side note: `document-register-element` has been deprecated in favor of `@ungap/custom-element` PR Close #43975
This test has been removed as since the elements schematic has been removed in a previous commit. PR Close #43975
…s examples In PR angular#43975, the `Angular Elements` guide was updated to remove mentions of the Custom Elements-related polyfills, since they are no longer necessary in v13+ (due to all CLI projects being ES2015+ and all supported browsers natively supporting Custom Elements). This commit updates the related docs example boilerplate to not include the unneeded `@webcomponents/custom-elements` polyfill.
…s examples (#44214) In PR #43975, the `Angular Elements` guide was updated to remove mentions of the Custom Elements-related polyfills, since they are no longer necessary in v13+ (due to all CLI projects being ES2015+ and all supported browsers natively supporting Custom Elements). This commit updates the related docs example boilerplate to not include the unneeded `@webcomponents/custom-elements` polyfill. PR Close #44214
…s examples (angular#44214) In PR angular#43975, the `Angular Elements` guide was updated to remove mentions of the Custom Elements-related polyfills, since they are no longer necessary in v13+ (due to all CLI projects being ES2015+ and all supported browsers natively supporting Custom Elements). This commit updates the related docs example boilerplate to not include the unneeded `@webcomponents/custom-elements` polyfill. PR Close angular#44214
…s examples (#44214) (#44233) In PR #43975, the `Angular Elements` guide was updated to remove mentions of the Custom Elements-related polyfills, since they are no longer necessary in v13+ (due to all CLI projects being ES2015+ and all supported browsers natively supporting Custom Elements). This commit updates the related docs example boilerplate to not include the unneeded `@webcomponents/custom-elements` polyfill. PR Close #44214 PR Close #44233
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
test: remove
ng_elements_schematics
integration testThis test has been removed as since the elements schematic has been removed in a previous commit.
fix(elements): remove incorrect
@angular/platform-browser
peer dependencyThe elements package doesn't use
@angular/platform-browser
therefore this is not needed.fix(elements): remove
ng-add
schematicThis schematic is no longer needed since all the browsers that Angular supports
CustomElementRegistry
APIs.Side note:
document-register-element
has been deprecated in favor of@ungap/custom-element
docs: update elements page
This section was outdated since now all CLI projects are es2015+ and don't require the polyfill since legacy browsers are no longer supported.
test: remove
document-register-element
from elements testsAll the browsers that Angular supports
CustomElementRegistry
APIsThe text was updated successfully, but these errors were encountered: