Angular - Standalone Components
You want to create a reusable button component as standalone and use it in multiple other standalone components without NgModules. Which approach is correct?
standalone: true and import it in each component's imports array where used. uses standalone: true and imports the button in each component, avoiding NgModules.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions