Policy switches for RRStack.update(). Defaults:
Example: accept newer versions with a warning and surface time‑unit changes
stack.update(incoming, { onVersionDown: 'warn', onTimeUnitChange: 'warn', onNotice: (n) => { // route to your logger/telemetry logger.info({ notice: n }); },}); Copy
stack.update(incoming, { onVersionDown: 'warn', onTimeUnitChange: 'warn', onNotice: (n) => { // route to your logger/telemetry logger.info({ notice: n }); },});
React passthrough: When supplied via useRRStack({ policy }), this policy is applied to both:
useRRStack({ policy })
json
Optional
Policy switches for RRStack.update(). Defaults:
Example: accept newer versions with a warning and surface time‑unit changes
React passthrough: When supplied via
useRRStack({ policy }), this policy is applied to both:json→ engine), and