2 ms·
I've used both and I found React's components much easier to understand than Angular's directives. If you want to create a reusable black-box directive in Angul
by TheCoelacanth 12y ago
I've used both and I found React's components much easier to understand than Angular's directives. If you want to create a reusable black-box directive in Angular, you have to understand all kinds of complicated stuff with scopes like isolate scopes and scope transclusion. To do the same in React is trivial because it just uses normal JavaScript functions and objects.