Skip to content

feat(angular): upgrade to Angular 22, convert tutorial app to standalone, zoneless Angular#81

Merged
ShaneK merged 3 commits into
major-9.0from
fix/update-app
Jul 9, 2026
Merged

feat(angular): upgrade to Angular 22, convert tutorial app to standalone, zoneless Angular#81
ShaneK merged 3 commits into
major-9.0from
fix/update-app

Conversation

@ShaneK

@ShaneK ShaneK commented Jul 1, 2026

Copy link
Copy Markdown
Member

With this change, the app runs on Angular 22, Ionic 8, Capacitor 8, ionicons 8, and TypeScript 6. Every page and component is now standalone, so all the *.module.ts and *-routing.module.ts files are gone and routing is handled with loadComponent route configs (app.routes.ts, tabs.routes.ts). The build moves to the @angular/build (esbuild) application builder, linting moves from TSLint to the ESLint flat config (eslint.config.js), and the app is zoneless, so zone.js along with polyfills.ts and zone-flags.ts are removed. PhotoService now exposes photos as a signal and the gallery renders it with @for, and inject() replaces constructor injection where it reads cleaner.

Other

Note: @ionic/angular is pinned to a prerelease dev build (8.8.11-dev.11782911278.11f0315e) because Ionic 9 isn't out yet. We'll need to update the version to ^9 before merging this PR.

The native ios/ and android/ projects were regenerated for Capacitor 8.

Additionally, docs will be updated to reference these changes in the tutorial for this app.

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! One comment on the package-lock.json file.

Comment thread package-lock.json

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a new review because I noticed some warnings in the terminal.

Comment thread package.json
@ShaneK ShaneK changed the base branch from main to major-9.0 July 9, 2026 16:18
@ShaneK ShaneK merged commit a20d148 into major-9.0 Jul 9, 2026
@ShaneK ShaneK deleted the fix/update-app branch July 9, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants