keller-mark/use-coordination

Support indication of the type of update and a human-readable name

Opened this issue · 1 comments

Possibly by using a Symbol

config: {
  ...config,
  // something here
  [Symbol.UPDATE_TYPE]: 'initialization' | 'interaction',
}

Then, can ignore certain types in

if (onConfigChange && viewConfig) {

The human-readable name can be used for display in the Trrack tree, e.g., barSelection changed for scope A