Skip to content

Commit 23fbe5c

Browse files
SkyZeroZxAndrewKushnir
authored andcommitted
docs: replace @debugging tag with proper Markdown syntax
1 parent a1f5f52 commit 23fbe5c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

adev/src/content/reference/errors/NG0602.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Alternatively, if this is not possible, consider manually subscribing to the obs
5454
As a last resort, use `untracked` to leave the reactive context.
5555
Be careful as leaving the reactive context can result in signal reads to be ignored inside `untracked`.
5656

57-
@debugging
57+
### Debugging the error
5858

5959
The error message mentions the function that was unexpectedly called.
6060
Look for this function call in your application code.

adev/src/content/reference/errors/NG0913.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ When images are loaded, the **intrinsic size** of the downloaded file is checked
88

99
The largest contentful element on a page during load is considered the "LCP Element", which relates to [Largest Contentful Paint](https://web.dev/lcp/), one of the Core Web Vitals. Lazy loading an LCP element will have a strong negative effect on page performance. With this strategy, the browser has to complete layout calculations to determine whether the element is in the viewport before starting the image download. As a result, a warning is triggered when Angular detects that the LCP element has been given the `loading="lazy"` attribute.
1010

11-
@debugging
11+
### Debugging the error
12+
1213
Use the image URL provided in the console warning to find the `<img>` element in question.
1314

1415
### Ways to fix oversized images

0 commit comments

Comments
 (0)