knockout-deferred-updates icon indicating copy to clipboard operation
knockout-deferred-updates copied to clipboard

Knockout 3.4

Open nmehlei opened this issue 10 years ago • 7 comments

I know that 3.4 is not yet stable (though it seems like its release is only days away) but it looks like ko-deferred-updates has to be updated to support ko 3.4. I noticed errors when trying to use 3.4's rate limiting functionality.

I guess at some point in time, this plugin will be abandoned due to the efforts to integrate deferral into ko's core, but I hope that we're not there yet as this plugin seems to handle at least some use cases (like mine: https://github.com/knockout/knockout/pull/1905#issuecomment-149572622 ) better as of now ;)

nmehlei avatar Oct 20 '15 13:10 nmehlei

If this would support 3.4.0, it would have to override the native deferred updates.

mbest avatar Oct 20 '15 19:10 mbest

...which it seems to handle just fine, except one issue with rate limiting when native deferral is disabled.

But am I understanding you correctly that this plugin won't be updated to support 3.4?

nmehlei avatar Oct 21 '15 09:10 nmehlei

I was certainly hoping that I wouldn't have to.

mbest avatar Oct 21 '15 10:10 mbest

Understandable ... could you give me a few hints what might be different between the functionality of this deferred plugin and native deferral that could cause the endless recursion mentioned in the referenced issue?

nmehlei avatar Oct 21 '15 10:10 nmehlei

Can you tell me more about your application and what steps you went through to produce the error?

mbest avatar Oct 21 '15 10:10 mbest

Sorry for the long delay ... I managed to find the source of the endless recursion. I have to continue with my tests to be sure but it seems like it was only a single area of my code which resulted in this problem, which did not happen with the deferred plugin. But, I have to admit ... this area was not written well ;) I optimized it and all seems to be working fine.

nmehlei avatar Oct 27 '15 13:10 nmehlei

I'm hoping to be able to provide some migration documentation for the upgrade to 3.4.0 from this plugin. Can you share what you had to do to make it work? If you like, you can email me directly (email is listed at the bottom of https://github.com/mbest/knockout-deferred-updates/).

mbest avatar Oct 27 '15 17:10 mbest