Home @Directive v/s @Component in Angular
Reply: 0

@Directive v/s @Component in Angular

user248
1#
user248 Published in July 21, 2018, 8:42 pm

What is the difference between @Component and @Directive in Angular? Both of them seem to do the same task and have the same attributes.

What are the use cases and when to prefer one over another?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.329949 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO