Re:Angular 2 Final Released
by diminish on Thursday September 15, 2016 @04:36AM
(#12504375)
Why JS declarative manipulation is a much better experience than using templates?
[ Parent
| on HN ]
Re:Angular 2 Final Released
by LgWoodenBadger on Thursday September 15, 2016 @08:59AM
(#12505698)
Because you have the full power of JS available to do whatever you want, however you want, to generate HTML. With a templating engine, you only have whatever the templating engine provides.
React would let you use JS-powered templates.
Angular would let your use ANY (static html, JS generated, or dynamic/server generated), because its pluggable.
For me, the power offered by Razor(cshtml) is too much to abondon.