Skip to main content

Angular Migration Guide

This guide walks you through upgrading your Angular application using DepFixer.

Supported Migrations

DepFixer supports multi-version jumps. You can go directly from Angular 12 to Angular 18.

Before You Start

1. Check Current State

Fix any existing issues before migrating. A clean health score makes migration smoother.

2. Commit Current Changes

Migration Steps

Step 1: Run Migration Command

Step 2: Select Target Version

Use arrow keys to navigate and Enter to select:

Step 3: Review and Apply

After payment, the migration is applied:

Post-Migration Steps

1. Install Dependencies

2. Run Angular Schematics (Optional)

Some migrations require code changes:

3. Fix Any Remaining Issues

TypeScript Versions

Version-Specific Changes

Angular 16 → 17

  • Standalone by default - Components are standalone unless specified
  • New control flow - @if, @for, @switch syntax
  • Deferred loading - @defer for lazy loading

Angular 17 → 18

  • Zoneless support - Experimental zoneless change detection
  • Signal-based inputs - input() function for reactive inputs
  • New build system - application builder with esbuild

Angular 18 → 19

  • Incremental hydration - Partial hydration for SSR
  • Resource API - Reactive data fetching primitives
  • linkedSignal - Derived signals with reset capability

Rollback

If migration fails, restore from backup: