The app I’m working on has its entire state backed by a
ValueTree. When I save, I’d like to be able to write back only the parts that have changed to disk rather than clobbering the whole file by writing back the entire state.
Is there a way to do this?
ValueTreeSynchroniser looks extremely promising, but it only seems to be able to apply deltas to live
ValueTree objects. Is there any clever way the binary delta could be written back to an on-disk