refactor(animations): deprecation of AnimationDriver.NOOP#51843
refactor(animations): deprecation of AnimationDriver.NOOP#51843JeanMeche wants to merge 1 commit intoangular:mainfrom
AnimationDriver.NOOP#51843Conversation
ca828c9 to
2192f87
Compare
AnimationDriver.NOOP AnimationDriver.NOOP
2192f87 to
1c8f7a4
Compare
jessicajaniuk
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
There was a problem hiding this comment.
I know these all say undocumented, because they were never documented, but we should probably add docs for these.
There was a problem hiding this comment.
Let me know what you think of the doc I've added !
AndrewKushnir
left a comment
There was a problem hiding this comment.
LGTM, thanks for the refactoring 👍
Could you please update the commit message to include the deprecation note? Similar to what you have in PR description, but with some extra info, for example:
DEPRECATED:
The `AnimationDriver.NOOP` symbol is deprecated, use `NoopAnimationDriver` instead.
1c8f7a4 to
50238c5
Compare
|
@JeanMeche sorry I forgot to mention in the review comment: we'd also need to include a note on this into the deprecation guide (https://angular.io/guide/deprecations). Could you please add an item there (based on the deprecation message)? |
The `NoopAnimationDriver` as static property of `AnimationDriver` prevents it from being removed by tree shaking. This commit deprecates it and exposes the `NoopAnimationDriver` on the public API to replace its usage. DEPRECATED: The `AnimationDriver.NOOP` symbol is deprecated, use `NoopAnimationDriver` instead.
50238c5 to
f0110aa
Compare
|
@AndrewKushnir Of course ! |
|
Deployed aio for f0110aa to: https://ng-dev-previews-fw--pr-angular-angular-51843-ma516312.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
AndrewKushnir
left a comment
There was a problem hiding this comment.
Thanks for addressing the feedback 👍
AndrewKushnir
left a comment
There was a problem hiding this comment.
Reviewed-for: public-api
|
Caretaker note: windows CI failure is pre-existing, this PR is ready for merge. |
|
This PR was merged into the repository by commit 0598613. |
|
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. |
…51843) The `NoopAnimationDriver` as static property of `AnimationDriver` prevents it from being removed by tree shaking. This commit deprecates it and exposes the `NoopAnimationDriver` on the public API to replace its usage. DEPRECATED: The `AnimationDriver.NOOP` symbol is deprecated, use `NoopAnimationDriver` instead. PR Close angular#51843
The
NoopAnimationDriveras static property ofAnimationDriverprevents it from being removed by tree shaking. This commit deprecates it and exposes theNoopAnimationDriveron the public API to replace its usage.DEPRECATED:
AnimationDriver.NOOP