Angular Resolvers and Navigation Data
What a ResolveFn really does to navigation: the delay, reruns on param change, RedirectCommand for 404s, and why EMPTY or an error cancels it.
Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.
Showing 97–120 of 200 articles
What a ResolveFn really does to navigation: the delay, reruns on param change, RedirectCommand for 404s, and why EMPTY or an error cancels it.
switchMap, mergeMap, concatMap or exhaustMap? One timeline of four requests shows what each operator does, and which fits search, save and login.
Why a cart total belongs in computed() and not a second signal, how Angular tracks dependencies lazily, and when linkedSignal fits.
Why push() on a signal's array leaves the screen stale, what Object.is equality means for update(), and how to edit nested lists without bugs.
How a standalone component's imports array works, the NG8001, NG8002 and NG8004 errors it prevents, and the directive that fails silently.
Which Angular subscriptions leak and which end on their own, measured with a live Subject, plus takeUntilDestroyed, toSignal and the async pipe.
How one tag serves amd64 and arm64, why native modules break across CPUs, and how to build multi-platform images by emulating or cross-compiling.
Bind mounts map a host path into a container: great for live code, risky for ownership, portability and security. See where each one bites.
How ENTRYPOINT and CMD combine into one argv, what docker run arguments replace, and why appending sh to some images never gives you a shell.
How a HEALTHCHECK moves from starting to unhealthy, why plain Docker never restarts an unhealthy container, and what a good probe checks.
Memory limits end in a silent OOM kill and CPU limits in throttling. Size a container so the runtime inside it agrees with the cgroup outside.
Why docker stop sometimes takes the full timeout and ends in exit 137, and how PID 1, exec form and a SIGTERM handler fix shutdown.
Backport a fix to a release branch with git cherry-pick -x, handle the conflict when it depends on an earlier commit, and spot duplicate patches.
An atomic commit does one thing and still builds. Split mixed edits with git add -p, fold follow-up fixes in with --fixup, and revert precisely.
Resolve a Git merge conflict by working out what each side meant. Read the base with zdiff3, avoid the keep-both trap and test the combined rule.
A tracked file stays tracked after you add it to .gitignore. Untrack it with git rm --cached and warn teammates, whose pull deletes it.
Undo a bad reset --hard, restore a deleted branch or a dropped stash with git reflog and git fsck, and learn which lost work Git can't recover.
How th, scope, caption and headers/id tell a screen reader which headers describe a cell, with a two-level pricing table worked through.
Why a flex item holding a long URL or code block won't shrink, what min-width: auto computes, and when min-width: 0 or minmax(0, 1fr) fixes it.
How screen reader users jump between headings, why levels should follow structure rather than font size, and how to fix skipped levels.
Swap left and right for inline-start and inline-end so one stylesheet serves English, Arabic and vertical text, with a card converted.
How browsers pick a file from srcset using sizes and pixel density, when to use picture, and the math for a phone, a tablet and a laptop.
When to use px, rem, em, %, ch, vw and dvh, how clamp() builds fluid type that still zooms, and why 100vh breaks on phones, with real numbers.
How ArrayList grows its backing array by 1.5x, why add is amortized O(1), and when ensureCapacity or a different list actually helps.
No notes match that… try another filter.