Object.observe instead of dirty checking with AngularJS 1.x

1k views Asked by At

Is there a way to use Object.observe instead of the dirty checking in AngularJS 1.x, if supported by the browser? This could significantly increase the performance.

Object.observe is currently supported at least by Google Chrome: http://kangax.github.io/compat-table/es7/

1

There are 1 answers

2
Wayne Ellery On

Currently there is no way of doing this. It's in the long term plan for Angular: http://ng-learn.org/2014/03/AngularJS-2-Status-Preview/#change_detection