sahbeewah
sahbeewah

Reputation: 2690

Angular bindonce vs native javascript

I have a very large amount of data to put into the DOM which is causing a rendering performance bottleneck.

I'm restricted to using a pre-1.3 version of angular so there is no native bind once feature, but I could potentially use a plug-in to get that in. My question is, would there be a big performance difference in terms of initial rendering time or otherwise, between a bindonce implementation vs wrapping native javascript and/or templating engine inside angular to generate the DOM?

Upvotes: 2

Views: 366

Answers (1)

Josh
Josh

Reputation: 44906

Initial render time isn't really going to improve with one-time binding. It will however improve overall performance once the DOM tree is rendered.

If you really need super fast rendering of very large data sets, you might consider some of the examples where people are using React.

Upvotes: 1

Related Questions