Skip to content

lit-ui-router-mobx / ReactionControllerOptions

Interface: ReactionControllerOptions<T>

Defined in: reaction-controller.ts:4

Extended by

Type Parameters

Type Parameter
T

Properties

PropertyTypeDescriptionDefined in
equals?IEqualsComparer<T>Comparer deciding whether the selected value changed (e.g. comparer.structural). Defaults to MobX's identity comparer.reaction-controller.ts:16
onChange?(value) => voidInvoked (before host.requestUpdate()) whenever the selected value changes — and once on every host (re)connect. Use for effects such as resetting component state from route params.reaction-controller.ts:10