It's not about parsing component
- Either by HTML string
- Or recursing the DOM tree of component
The slow perf in Angular.js was related to the bindings of values on UI with values of variables, properties in JavaScript. Imagine of a component displaying hundreds of rows that each row is rather complex and having a lot of values to display. Angular.js puts hundreds times the bundle of values in each row to a list of value bindings as events to checker loop (or JavaScript event loop?), and it's flooding the only thread of JavaScript, which makes JS busy.
No comments:
Post a Comment