Jul 25, 2017 · 1 min read
AOT is great and should be used. However, are you sure that manipulating the DOM directly prevent the use of AOT?
To me, manipulating the DOM has 2 issues :
- things happen outside of Angular detection, which can be a problem depending on your use case.
- you cannot do server side rendering or other things that require a different Renderer than the Dom Renderer (as you said later)
But, imho, manipulating the DOM is not an issue with respect to AOT.
