πŸ“Š Angular
Q. What is the purpose of the `--standalone` flag in Angular CLI?
  • (A) To enable SSR
  • (B) To create a module-less component
  • (C) To add routing automatically
  • (D) To enable Ivy rendering
πŸ’¬ Discuss
βœ… Correct Answer: (B) To create a module-less component

Explanation: `--standalone` creates a component that doesn't need to be declared in an NgModule.

Explanation by: Mr. Dubey
`--standalone` creates a component that doesn't need to be declared in an NgModule.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate