Building for Production Deployment Options Platform Command / Method Vercel npx vercel --prod Netlify Build command: ng build, publish: dist/app-name/browser Firebase ng add @angular/fire → firebase deploy Docker + Nginx Multi-stage Dockerfile AWS S3 + CloudFront Upload dist/ to S3 bucket Docker Deployment Best Practices Do: Practice Why Use standalone components Simpler, no NgModule overhead Use Signals for component state Simpler than RxJS for sync state Lazy load feature routes Smaller initial bundle Use trackBy / track in loops Prevents unnecessary re-renders Unsubscribe in ngOnDestroy Prevents memory leaks Use async pipe in templates Auto-manages subscriptions Keep components small Single responsibility Use OnPush change detection Better performance Don't: Anti-Pattern Why Logic in…