Angular · Senior · Question 42 of 75
What does ng update @angular/core @angular/cli do besides bumping versions?
- ✓Correct answer: Runs migration schematics that update your code for breaking changes
- 2Rewrites the app in the latest syntax regardless of version
- 3Only edits
package.json
Explanation
Update one major version at a time and follow the Angular Update Guide. There are also optional migrations, e.g. to control flow, signal inputs or inject().