Tips

Force Refresh

Notify subscribers that they should re-evaluate (how to force view refresh):

self.villageId.valueHasMutated();

Throttle

To delay re-evaluation until dependencies have stopped changing for a specified period of time (see, the The throttle extender):

var upperCaseName = ko.computed(function() {
    return name().toUpperCase();
}).extend({ throttle: 500 });