Given the following notebook:
let i = 0;
const inc = () => ++i;
const refresh = view(Inputs.button("refresh"));
refresh;
const fn = (_display) => (_display(inc()), new Promise(() => {}))
const a = fn(display)
fn(display)
the expression only reruns when executed directly, but not when invalidated through upstream inputs. E.g., after clicking “refresh” three times the output looks as follows:
