File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/core/src/metadata Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -401,9 +401,10 @@ export interface ComponentDecorator {
401401 * Unlike other directives, only one component can be instantiated for a given element in a
402402 * template.
403403 *
404- * A component must belong to an NgModule in order for it to be available
405- * to another component or application. To make it a member of an NgModule,
406- * list it in the `declarations` field of the `NgModule` metadata.
404+ * Standalone components can be directly imported in any other standalone component or NgModule.
405+ * NgModule based apps on the other hand require components to belong to an NgModule in
406+ * order for them to be available to another component or application. To make a component a
407+ * member of an NgModule, list it in the `declarations` field of the `NgModule` metadata.
407408 *
408409 * Note that, in addition to these options for configuring a directive,
409410 * you can control a component's runtime behavior by implementing
You can’t perform that action at this time.
0 commit comments