CodeWithRajat
Subscribe
Sign in
Home
Notes
Chat
Archive
About
withInMemoryScrolling in Angular: Modern Scroll Restoration and Anchor Scrolling Explained
A complete guide to scroll restoration and anchor navigation in modern Angular apps - from basic setup to pro
READ THE LATEST
Most Popular
View all
Angular 21 New Features You'll Actually Use: HttpClient by Default, Smarter Styling, and More
Sep 30, 2025
•
Rajat Malik
1
Mastering Angular's New Resource APIs: HttpResource, Resource, and RxResource — The Hidden Edge Cases Every Developer Must Know
Sep 17, 2025
•
Rajat Malik
2
Angular's Game-Changing CSP Security Headers: Why Your Inline CSS and JS Just Got Safer
Oct 1, 2025
•
Rajat Malik
1
2
Angular Signal-Based Forms: Why They're About to Change Everything You Know About Form Handling
Sep 16, 2025
•
Rajat Malik
2
Latest
Top
Discussions
Why Does Your Angular Component State Reset When You Move It? A Deep Dive into CDK Portals
Understanding the difference between recreating views and moving DOM elements
Jan 7
•
Rajat Malik
1
Migrating from Jasmine/Karma to Vitest in Angular 21: A Step-by-Step Guide Developer's Complete Guide
Say goodbye to Karma, hello to lightning-fast tests with Vitest
Dec 23, 2025
•
Rajat Malik
npx knip: The Smart Way to Detect Dead Code in Your JavaScript & TypeScript Projects
Discover how one command can clean up thousands of lines of unused code and boost your codebase health
Dec 15, 2025
•
Rajat Malik
From 5MB to 500KB: The Hidden Cost of providedIn: 'root' in Angular – A Performance Deep Dive
How Angular's Tree-Shaking Actually Works (And How to Keep Your Bundle Lean in 2025)
Dec 3, 2025
•
Rajat Malik
Angular 21 Vitest Testing Revolution: Complete Karma-to-Vitest Migration Guide, ICOV Coverage, Faster DX & Modern Testing Workflows (2025…
How a Lightning-Fast Testing Framework is Making Karma + Jasmine Obsolete—And What It Means for Your Angular Projects
Dec 2, 2025
•
Rajat Malik
The Angular Service Scoping Mistake That's Killing Your App Performance (And How to Fix It)
From Bloated to Blazing: How Proper Angular Service Scoping Cut My App Size by 40%
Nov 26, 2025
•
Rajat Malik
Angular v21 Has Landed: Are You Ready for the Signal Revolution?
The game-changing release that transforms how you build Angular apps—with signal-based forms, zoneless architecture, and headless accessibility…
Nov 25, 2025
•
Rajat Malik
See all
CodeWithRajat
Unlock the power of modern web development. Deep dives, sharp insights, and practical guides on JavaScript, React, Angular, Node.js, and everything front-end. Curated for developers who love clean code and smarter UIs.
Subscribe
Social
Explore code in action
Git Hub
Let’s connect professionally
LinkedIn
Medium
CodeWithRajat
Subscribe
About
Archive
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts