-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
module imports with standalone components (assuming ivy) #33507
Comments
Hi, it's been a while, is this being considered? |
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
votes?? Two and an half years after a feature request is posted. A feature request that tries to resurface an issue with Angular that was posted as part of different bugs and features since day 1. ( This was not an issue with angular.js). Unfortunately, or luckily, everyone who needed this feature probably already moved to react and others so I guess getting votes on this now is unlikely. Your previous policy of just closing FR you didn't wish to do was better at least be direct about it and not wait for more than a couple of years to say that. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
Heya @amitport, sorry to hear you're upset about the recent introduction of voting (and having to wait 2.5 years without a reply, which is probably your larger complaint). The votes are just there to help measure interest in feature requests; requests will not be automatically closed or anything if there have been insufficient votes. On the topic of this request, then. We're currently exploring what it would look like for components to be self-contained, in a project named "optional NgModules". The outcome of that project should be to allow what you're suggesting in this request. |
The description of #39695 also has a nice overview of the problem space, linking it here for visibility. |
Oh! That's great! Thanks for the lightning fast response @JoostK! |
For anyone tracking this issue - check our suggested solution described in the RFC: Standalone components, directives and pipes - making Angular's NgModules optional |
We are implementing standalone components, directives and pipes! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 feature request
Relevant Package
Angular core
Description
I want to load simple components dynamically (not necessarily async),
in its template it may use simple things like ngFor and I want to avoid the complexity of an additional
NgModule
sDescribe the solution you'd like
I want to be able to declare a component:
and just load it in another module that already imports
CommonModule
:Describe alternatives you've considered
currently I need to define an
ngModule
just for the import:it would also be better if I could add the import on the component itself:
The text was updated successfully, but these errors were encountered: