feathers-reactive icon indicating copy to clipboard operation
feathers-reactive copied to clipboard

Diff state

Open thaiat opened this issue 8 years ago • 3 comments

Hi,

I started using feathers-reactive with vuex and in a standard CRUD scenario everything works fine. Now i m trying to make some canvas annotations (annotation is the feathers crud service) real time. In the subscribe i get the whole list of annotations whenever they change, but it is not very efficient to draw all of them again in the canvas for each change. Is there a way to only get the diff list between 2 subscribes ?

thaiat avatar Jul 13 '17 21:07 thaiat

anyone ?

thaiat avatar Jul 20 '17 02:07 thaiat

Have you found a way to do this? I'm also curious.

damylen avatar Dec 30 '17 14:12 damylen

You could just pipe the resulting observable through .pairwise() operator and diff it yourself.

Artaud avatar Oct 14 '20 18:10 Artaud