feathers-reactive
feathers-reactive copied to clipboard
Diff state
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 ?
anyone ?
Have you found a way to do this? I'm also curious.
You could just pipe the resulting observable through .pairwise() operator and diff it yourself.