Angular 2 versus React: There Will Be Blood
Cory House
2.7K203

The problem with having a complete programming language within your template language is that you lose the ability to statically analyse exactly how it can change. The only way to know for certain the structure of the HTML that a component’s render function will generate is to execute the code. In contrast, by being more restrictive, Angular 2’s template syntax makes it clear to tools exactly how the resultant HTML can change. This lets the Angular template compiler generate extremely fast DOM update code, ahead of time, with the need for runtime performance hacks like the virtual DOM.

Show your support

Clapping shows how much you appreciated Jon Rimmer’s story.