docs: update best practice performances nav structure to be more comp…#67103
Open
bencodezen wants to merge 1 commit intoangular:mainfrom
Open
docs: update best practice performances nav structure to be more comp…#67103bencodezen wants to merge 1 commit intoangular:mainfrom
bencodezen wants to merge 1 commit intoangular:mainfrom
Conversation
|
Deployed adev-preview for 0cd1823 to: https://ng-dev-previews-fw--pr-angular-angular-67103-adev-prev-anhvsxwd.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
SkyZeroZx
reviewed
Feb 17, 2026
| | :-------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------ | | ||
| | [Zoneless change detection](guide/zoneless) | Removes ZoneJS overhead and triggers change detection only when signals or events indicate a change | New applications (default in Angular v21+), or existing applications ready to migrate | | ||
| | [Slow computations](best-practices/slow-computations) | Identifies and optimizes expensive template expressions and lifecycle hooks | Profiling reveals specific components causing slow change detection cycles | | ||
| | [Skipping component subtrees](best-practices/skipping-subtrees) | Uses `OnPush` change detection to skip unchanged component trees | Applications using zone-based change detection that need finer control | |
Contributor
There was a problem hiding this comment.
Applications using zone-based change detection that need finer control
I understand OnPush is still recommended even without zone.js, so I think we could omit zone-based?
SkyZeroZx
reviewed
Feb 17, 2026
| | :------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------- | | ||
| | [Deferred loading with `@defer`](guide/templates/defer) | Splits components into separate bundles that load on demand | Components not visible on initial render, heavy third-party libraries, below-the-fold content | | ||
| | [Image optimization](guide/image-optimization) | Prioritizes LCP images, lazy loads others, generates responsive `srcset` attributes | Any application that displays images | | ||
| | [Server-side rendering](guide/ssr) | Renders pages on the server for faster first paint and better SEO, with [hydration](guide/hydration) to restore interactivity and [incremental hydration](guide/incremental-hydration) to defer hydrating sections until needed | Content-heavy applications, pages that need search engine indexing | |
Contributor
There was a problem hiding this comment.
Could we also mention Lazily loaded components and routes in this section?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…rehensive
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information