Skip to content

[angular] Use ChangeDetectionStrategy.OnPush for components#805

Closed
ditman wants to merge 3 commits intogoogle:mainfrom
ditman:angular-renderer-onpush
Closed

[angular] Use ChangeDetectionStrategy.OnPush for components#805
ditman wants to merge 3 commits intogoogle:mainfrom
ditman:angular-renderer-onpush

Conversation

@ditman
Copy link
Collaborator

@ditman ditman commented Mar 9, 2026

Description

This PR sets the ChangeDetectionStrategy of the Angular renderer components to OnPush to match that of the internal version.

(This was requested by @jgindin on cl/878208726)

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

@ditman ditman requested review from crisbeto and jgindin March 9, 2026 22:47
@github-project-automation github-project-automation bot moved this to Todo in A2UI Mar 9, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request changes the change detection strategy to OnPush for many Angular components, which can improve performance. It also modifies a package.json script to run npm install. My feedback includes a point about the developer experience impact of the script change.

@ditman ditman marked this pull request as ready for review March 9, 2026 22:51
@ditman ditman closed this Mar 9, 2026
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant