Skip to content

changes 的 diff 机制 #37

@Brooooooklyn

Description

@Brooooooklyn

Lovefield 的 observe 在 diff change 时是 shallow equal (和 React 一样)

Note that observing a query with columns of lf.Type.OBJECT or lf.Type.ARRAY_BUFFER will trigger observers ONLY IF the reference to those objects changed (assuming no other column changed). If the lf.Type.OBJECT object was updated in place, observers will not be triggered, since Lovefield does not know the structure of such objects to compare before and after (and doing so would hurt performance).

google/lovefield@4fb1916#diff-1986b255fba1a14a3b09577a2fed28caR643

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions