knockout.js - Sporadic un-evaluated values when using knockout-deferred-updates -


i using knockoutjs 2.0 & knockout-deferred-updates plugin. encountering sporadic null object reference errors in bindings, due, presumably, timing of evaluating various callbacks. looking guidance on how determine whether (or which) items set deferredupdates = false.

as alternative, have put in test code in binding check if value obtained valueaccessor() call null; if so, not evaluate binding function. while might work update handlers, doesn't seem idea init ones.

thoughts?

thanks in advance,

gene

obviously problem happens sporadically difficult solve, if appear caused slower network response, can try simulating slow connection able reproduce problem more consistently. should let debug better (or @ least narrow down problem).


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -