That means that the component has to be defined in the same project or has to be imported into an angular module of the project.īefore we get started, we need an angular project to work on. What dynamic components are notīecause of the broad use of the word "dynamic", one could think that you could "dynamically" load just any component from the internet at runtime.īecause of the way angular works, it has to know about every component at buildtime. Instead, the component is instantiated and placed in the application at runtime. That means, that it is not used in any angular template. What dynamic components areĭynamic means, that the components location in the application is not defined at buildtime. Of course, everything is reduced to the core and split up, so we don't lose the overview.īefore we start, let's make sure we know what "dynamic" components actually are.
0 Comments
Leave a Reply. |