Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make standalone import the default #5101

Open
rajinder-yadav opened this issue Dec 26, 2024 · 1 comment
Open

Make standalone import the default #5101

rajinder-yadav opened this issue Dec 26, 2024 · 1 comment
Labels

Comments

@rajinder-yadav
Copy link

Since Angular now defaults to standalone component, it only make sense for ionic imports to be standalone by default.

It gets tedious to type something like:

import { Config } from '@ionic/angular/standalone';

vs

import { Config } from '@ionic/angular/';

Make NgModule based apps use:

import { Config } from '@ionic/angular/ngmodule';
@ionitron-bot ionitron-bot bot added the triage label Dec 26, 2024
@rajinder-yadav
Copy link
Author

If you wait too long to make this changes, when NgModule becomes deprecated, then you're going to force dev either to continue to use the long form import which is stupid, or force them to make the changes manually.

I say make the people upgrading take the hit and spare the rest of us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant