falcor
falcor copied to clipboard
model.withoutDataSource().set(...) does not trigger model._root.onChange
Moreover model.withoudDataSource().set(...) does not increment cache verison
I saw it in this issue https://github.com/Netflix/falcor/issues/563 and also wondering what is the best way to set data locally.
My current workaround is model.setCache(Object.assign(model.getCache(), data))
However this way all paths version is incremented
Is there a way to update model locally but receive correct version numbers per paths (so only the paths that changed increment their verison)?
+1