type TLOnBeforeUpdateHandler<T extends TLShape> = (prev: T, next: T) => T | void
TLOnBeforeCreateHandlerTLOnChildrenChangeHandler