Pure-function diff of two IndicatorConfig[] arrays by indicatorId.
Called by both React (useEffect) and Vue (watch) wrappers to decide
whether to call chart.setIndicators(next.map(createIndicator)).
Handles duplicates in the input by deduping via the id set — two
identical configs collapse to one kept id.
Pure-function diff of two
IndicatorConfig[]arrays byindicatorId. Called by both React (useEffect) and Vue (watch) wrappers to decide whether to callchart.setIndicators(next.map(createIndicator)).Handles duplicates in the input by deduping via the id set — two identical configs collapse to one kept id.