To create an instance of a component, you would use ______ method of ComponentFactory.

  • create()
  • generate()
  • initialize()
  • instantiate()
To create an instance of a component dynamically, you would use the create() method of ComponentFactory. This method allows you to instantiate and add components to your application at runtime. It's a fundamental concept in frameworks like Angular for dynamic component loading.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *