API reference › @evolu/common › local‑first/Query › makePatches
function makePatches(
previousRows: readonly Row[] | undefined,
nextRows: readonly Row[],
): readonly Patch[];
Defined in: packages/common/src/local-first/Query.ts:278
We detect only changes in the whole result and in-place edits. In the future, we will add more heuristics. We will probably not implement the Myers diff algorithm because it's faster to rerender all than to compute many detailed patches. We will only implement logic a developer would implement manually, if necessary.