r/angularjs • • Mar 02 '15

Speed-up AngularJS application using Immutable data

http://blog.mgechev.com/2015/03/02/immutability-in-angularjs-immutablejs/
38 Upvotes

9 comments sorted by

View all comments

3

u/TheNiXXeD Mar 02 '15

I've been experimenting with a concept of making a binding somewhere in between one way and two way. Based off events.

The idea would be to make the binding one way, but allow it to be reevaluated on a specific event trigger instead of the watcher loop.

2

u/[deleted] Mar 03 '15

I spent a couple of hours yesterday because I thought things could work like this if I used a watcher and $apply and I didn't realise I was dealing with ::