StateFieldSpec.compare?
StateFieldSpec › compare?
Type: (a: Value, b: Value) => boolean
Compare two values of the field, returningtrue when they are the same. This is used to avoid recomputing facets that depend on the field when its value did not change. Defaults to using ===.